时间:2016-08-25 08:01:58
服务器换地址了,本地有clone出来的git厍,则需要修改一下origin的地址,以便能继续push和pull,方法是,在命令行项目所在目录下执行:
git remote set-url origin 新地址
时间:2016-08-25 08:01:58
服务器换地址了,本地有clone出来的git厍,则需要修改一下origin的地址,以便能继续push和pull,方法是,在命令行项目所在目录下执行:
git remote set-url origin 新地址
本文标题:【GIT教程】--修改远程仓库地址
本文链接:https://www.haomeiwen.com/subject/csgosttx.html
网友评论