git修改遠(yuǎn)程倉庫地址
方法有三種:
- 修改命令
git remote set-url origin [url]
- 先刪后加
git remote rm origin
git remote add origin [url]
- 直接修改config文件
vim .git/config
方法有三種:
git remote set-url origin [url]
git remote rm origin
git remote add origin [url]
vim .git/config