git 远程代码仓库地址变化 添加新地址方法

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_38543537/article/details/84553943

git 远程地址发生变化,与本地地址不一致的时候,需要添加新的额远程地址,添加方法如下:

git remote -v   
git remote rm origin 
git remote add origin XX    xx为新的代码仓库地址

猜你喜欢

转载自blog.csdn.net/qq_38543537/article/details/84553943