git remote 删除添加的远程地址

2020-07-05  本文已影响0人  程序媛啊

一.当推送到服务器时首先要添加远程地址的

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
上一篇 下一篇

猜你喜欢

热点阅读