Created
July 5, 2018 19:16
-
-
Save nara-l/24ee00766da0f0c3cdf3bc4bdbbb6548 to your computer and use it in GitHub Desktop.
Git - Fixing conflict between master and branch before pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git fetch origin # gets latest changes made to master | |
| git checkout branch_name # switch to your branch | |
| git merge master # merge with master | |
| # manually resolve any merge conflicts here | |
| git push origin branch_name # push branch and update the pull request | |
| # branch_name is the name of the branch you you have the conflict on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment