[转]git remote 删除添加的远程地址

一.当推送到服务器时首先要添加远程地址的
  
git remote add origin https://gitee.com/kingCould/HelloWord.git

  二.查看本地添加了哪些远程地址

$ git remote -v

origin https://github.com/zhidao/crm.git (fetch)

origin https://github.com/zhidao/crm.git (push)

sdorigin https://github.com/zhidao/erp.git (fetch)

sdorigin https://github.com/zhidao/erp.git (push)

 三.删除本地指定的远程地址

git remote remove origin 删除即可

posted @ 2020-12-03 19:01  Sameen  阅读(762)  评论(0)    收藏  举报