【发布时间】:2018-11-21 06:33:51
【问题描述】:
这是 GitHub 公司网站中出现的问题。 我的帐户文件夹中有一个存储库(unnnn/CCS_src1)。然后我把它移到一个组文件夹(app-FST/CCS_src1)。然后我把它克隆到我的笔记本电脑上。一切都很顺利,直到我运行“git remote -v”
$ git remote -v
origin https://github.xxxx.com/app-FST/CCS_src1 (fetch)
origin https://github.xxxx.com/app-FST/CCS_src1 (push)
origin https://github.xxxx.com/unnnn/CCS_src1 (push)
有两个推送目的地。如何删除目的地https://github.xxxx.com/unnnn/CCS_src1?
非常感谢您提前回答。
安德鲁·K
【问题讨论】:
-
@9301293 我试过“git remote remove origin”。它抛出了一个错误:无法删除配置部分'remote.origin'
-
手动编辑你的 git 配置文件。
标签: git-push