What is the difference between Forking and Cloning on GitHub?

后端 未结 9 1297
耶瑟儿~
耶瑟儿~ 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:53

    While @AniketThakur's answer is very good. No one has answered the following question yet.

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

    No. If you are a contributor to a repository, you can: Make a local clone. Make a local branch. Add commits to that branch. Push the local branch back to github (creating a remote branch in the process). Make a pull request requesting for that branch to be merged into the master branch (or whatever branch you like).

提交回复
热议问题