- Fork the repo that you're working on into your own account.
- Clone down the fork
- Create a new branch in the fork using
git branch [branch_name]
replacing[branch_name]
with a short phrase describing the feature your'e working on - Check the current status of your branches by using
git branch
. You should see all the branches you have access to. Your current branch will have an*
next to it - Check out the new branch using
git checkout [branch_name]
- Make your changes in the code
- Add and commit your changes
- Pull down any changes from the original repo:
- Add the original repo as an upstream remote with
git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
. Make sure to use the actual owner and repository names. - Pull changes into your branch from the upstream remote with
git pull upstream master
- Fix any conflicts and commit your changes
- Push your branch's changes up to Github with
git push origin [branch_name]
- Create a pull request by clicking the green pull request button
- Add notes then submit the pull request by clicking the green button
Last active
February 28, 2017 05:23
-
-
Save arjunvenkat/92631c52836d1e99ad88 to your computer and use it in GitHub Desktop.
Creating Pull Requests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment