Git Workflow When Contributing to Open Source

The following are the steps/workflow you follow when you find a repository on GitHub and wish to contribute to it.     

When you find an issue you wish to work on in a repository, first fork it to your GitHub, then clone it and make a new branch (you will be working off this new branch. Its a good idea to name the branch after the issue you are planning to fix Eg. issue-2) . When you are done with your code push it to the new branch you made for the issue/feature then create a pull request (pull request is a review request You are asking someone to check the changes on a branch before merging into another branch.) The person who owns the code will check your code and if it's approved it will get merged with the original. 

Comments

Popular posts from this blog

OSD600 Release 0.4 Part 3

OSD600 Lab 5

Release 0.3 PR2