1.修改命令
  git remote set-url origin [NEW_URL]

2.先删后加
  git remote rm origin
  git remote add origin [url]

3.直接修改.git/config文件

相关文章: