What is the difference between Forking and Cloning on GitHub?

后端 未结 9 1298
耶瑟儿~
耶瑟儿~ 2020-12-04 05:14

I\'d like to know the differences between doing a Fork of a project and doing a clone of it.

Can I only send pull requests via GitHub if I\'ve forked a

9条回答
  •  余生分开走
    2020-12-04 05:51

    In case you did what the questioner hinted at (forgot to fork and just locally cloned a repo, made changes and now need to issue a pull request) you can get back on track:

    1. fork the repo you want to send pull request to
    2. push your local changes to your remote
    3. issue pull request

提交回复
热议问题