Home  >  Q&A  >  body text

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 days ago527

reply all(2)I'll reply

  • 某草草

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

    origin already exists, if you insist on adding a resp, just change the name. If you don’t believe it, you can check in the .git/config file to see if origin has been registered.

    reply
    0
  • 怪我咯

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

    The remote library already exists. You can commit directly or change the name git add remote origin1 xxxxx

    reply
    0
  • Cancelreply