方法一:
git remote add <name> <url>
and then push using the remote name
git push <name>
方法二:
git remote set-url origin url
方法三:
git remote rm origin git remote add origin url
git remote add <name> <url>
and then push using the remote name
git push <name>
git remote set-url origin url
git remote rm origin git remote add origin url