Created
March 4, 2018 09:27
-
-
Save ollyg/16c1c16d48856ad6db399e99167cb053 to your computer and use it in GitHub Desktop.
Update git submodule to latest
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 submodule_name | |
git checkout master && git pull | |
cd .. | |
git add submodule_name | |
git commit -m "updating submodule to latest" | |
(from https://github.com/tj/git-extras/pull/80#issuecomment-3992323) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment