首页  >  问答  >  正文

github - git上传问题

chenkuntaodeMacBook-Pro:KickBalliOS chenkuntao$ git remote add origin https://github.com/KarmaChen/BallGame.git
fatal: remote origin already exists.
chenkuntaodeMacBook-Pro:KickBalliOS chenkuntao$

PHP中文网PHP中文网2727 天前524

全部回复(2)我来回复

  • 某草草

    某草草2017-05-02 09:28:38

    origin已经存在了,如果你坚持要增加一个resp的话,改个名字就行。 不信你可以在.git/config 文件看看 是不是origin已经被注册了。

    回复
    0
  • 怪我咯

    怪我咯2017-05-02 09:28:38

    remote 库已经存在 你可以直接commit提交了 或者换个名 git add remote origin1 xxxxx

    回复
    0
  • 取消回复