Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the Fork & Pull Model in GitHub?

I have heard this term used for managing a code base in GitHub. What does it mean?

like image 562
Ryan Kohn Avatar asked Jul 20 '12 16:07

Ryan Kohn


People also ask

What is TheFork pay?

TheFork PAY benefits for users Easy: you just need to open TheFork app and enter the bill amount. Fast: once you register your credit card, it will automatically be saved. Paying will then take less than a minute! Contactless: you can avoid queues at cash registers respecting social distances.

Does TheFork cost money?

The reviews left by past users help you gain a good idea of the service quality as well. TheFork lets you book up to three months in advance and doesn't charge any fee for the bookings made.

How do I cancel Forks?

Log in to your account on the TheFork website. Go to the main menu and click “My reservations”. Under the concerned booking, you'll find the cancellation link. Both you and the restaurant will receive a notification of the cancellation.


2 Answers

As noted within the GitHub docs:

The Fork & Pull Model lets anyone fork an existing repository and push changes to their personal fork without requiring access be granted to the source repository. The changes must then be pulled into the source repository by the project maintainer. This model reduces the amount of friction for new contributors and is popular with open source projects because it allows people to work independently without upfront coordination. [...] Pull requests are especially useful in the Fork & Pull Model because they provide a way to notify project maintainers about changes in your fork.

like image 179
Ryan Kohn Avatar answered Oct 19 '22 00:10

Ryan Kohn


GitHub consist of many repositories. You can fork any a repository and start developing your changes on that. When you are completed with your changes you can send pull request to author of repository from where you forked to merge your changes to main repository. If repository author find your changes significant, the pull request can be accepted and your changes are merged.

like image 24
Paritosh Singh Avatar answered Oct 18 '22 23:10

Paritosh Singh