git remote 查看所有远程仓库, git remote xxx 查看指定远程仓库地址
git remote set-url origin http://192.168.100.235:9797/john/git_test.git
删除本地分支和远程分支
git checkout xxx
git branch -d xxx
git push origin --delete xxx
git remote 查看所有远程仓库, git remote xxx 查看指定远程仓库地址
git remote set-url origin http://192.168.100.235:9797/john/git_test.git
git checkout xxx
git branch -d xxx
git push origin --delete xxx
本文标题:修改远程git仓库地址
本文链接:https://www.haomeiwen.com/subject/vpjclrtx.html
网友评论