Last active
May 4, 2016 21:37
-
-
Save sillage/cb3c101d8225753f9b43 to your computer and use it in GitHub Desktop.
Git cheat sheet
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
# update and merge all remote submodules | |
# http://stackoverflow.com/questions/5828324/update-git-submodule-to-latest-commit-on-origin | |
git submodule update --remote --merge | |
# update repo from upstream | |
# https://help.github.com/articles/syncing-a-fork/ | |
git fetch upstream && git checkout master && git merge upstream/master | |
# more help: https://github.com/blog/2104-working-with-submodules |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment