git 如何修改远程仓库地址

1、直接修改远程仓库地址

git remote set-url origin 复制上仓库地址

2、先删除再修改地址

git remote rm origin
git remote add origin 复制上仓库地址

另外,查看远程仓库地址

git remote -v

猜你喜欢

转载自blog.csdn.net/qq_17355709/article/details/126140270