Created
November 21, 2011 04:44
-
-
Save nandub/1381650 to your computer and use it in GitHub Desktop.
git fix merge conflicts steps
This file contains 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
cd <PROJECT> | |
git remote add upstream [email protected]:<GITHUB_ACCOUNT_NAME>/<PROJECT>.git | |
git fetch upstream | |
#Stash/commit all your work | |
git checkout develop | |
git merge upstream/develop | |
git checkout <FEATURE_BRANCH> | |
git merge develop | |
#Fix errors, merge conflicts, etc. | |
#Run tests | |
git push origin <FEATURE_BRANCH> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment