Last active
February 11, 2016 22:24
-
-
Save rodmcnew/48dab4bbf8bd7c4a4963 to your computer and use it in GitHub Desktop.
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
#There are many other ways to do this but i've found using these commands work best and are the least error prone | |
### How to pull down ### | |
git fetch origin master; git merge origin/master | |
#If there is an error here, fix it with: | |
#Open all conflict files, fix them, save them (you could use a diff tool here) | |
git add .; git commit -m "Merged change" | |
git fetch origin master; git merge origin/master | |
### How to push up ### (Always do the "pull down" steps before pushing up) | |
git add .; git commit -m "Updated files"; git push origin master | |
#If there is an error here, fix it with: | |
git fetch origin master; git merge origin/master | |
#If there are conflicts, open all conflict files, fix them, save them (you could use a diff tool here) | |
git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment