git修改/添加/删除远程仓库
修改远程仓库地址
1 | git remote set-url origin <remote-url> |
仓库路径查询查询
1 | git remote -v |
添加远程仓库
1 | git remote add origin <你的项目地址> //注:项目地址形式为:https://gitee.com/xxx/xxx.git或者 git@gitee.com:xxx/xxx.git |
删除指定的远程仓库
1 | git remote rm origin |
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.