Forking & Pull Requsts



These are GitHub commands, and used when you want to contribute to someone else’s project

That is you’ve not been appointed as a contributor to the project but yet you’re willing to contribute to that project. ๐Ÿ˜Š

Login with your GitHub account, search for the project that you are interested in, click on at the top right corner.

This will clone the project to your account.

Once the process is completed, go to your account again, you’ll see the forked project in your repository list. 

So now open up Git Bash, clone it to your PC.

You can develop the project and push them to the cloned repo in your GitHub account, still this does not require any permission as you’re updating your own repo.

Once when you feel you want to merge it back to the original project, you can go the original repo and click on thebutton, provide the necessary information, and submit the request.


Now a PULL REQUEST is being sent to the owner of the project and he may accept or deny your request.


So now you noticed that PULL and PULL REQUEST are two different concepts used in Git.


Woo-hoo we've covered almost all the commands needed by a developer, hope you enjoyed the session!๐Ÿ˜‹๐Ÿ˜‹

Thank you for following the tutorial & Please do keep in touch!
Happy Coding People! Cheers!!๐Ÿ˜Š

P.S. Feel free to ask questions and would appreciate all your comments! ๐Ÿ˜Š




No comments:

Post a Comment