1.查看当前的remote git remote -v 2.删除指定remote git remote remove <name> 3.添加remote git remote add origin git@ip:xxxgit