<p>目前项目中有两个remote</p><p>$ git remote -v</p><p>origin https://github.com/luodao236/test.git (fetch)</p><p>origin https://github.com/luodao236/test.git (push)</p><p>test https://github.com/luodao236/onceAgain.git (fetch)</p><p>test https://github.com/luodao236/onceAgain.git (push)</p><p>现在想删除其中的一个test,方法为:</p><p>git remote remove &lt;name&gt;</p><p>$ git remote remove test</p><p>结果为:</p><p>$ git remote -v</p><p>origin https://github.com/luodao236/test.git (fetch)</p><p>origin https://github.com/luodao236/test.git (push)</p><p>---------------------</p><p>作者:luodao_</p><p>来源:CSDN</p><p>原文:https://blog.csdn.net/luodao_/article/details/79041918</p><p>版权声明:本文为博主原创文章,转载请附上博文链接!</p>
返回顶部 留言