Last active
August 29, 2015 14:04
-
-
Save AlexanderRD/0819e6bf6913ef1df09f to your computer and use it in GitHub Desktop.
Updating submodules within a local git clone
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
#!/bin/bash | |
# Exists to fully update the git repo that you are sitting in... | |
git pull && git submodule init && git submodule update && git submodule status |
Run above command in the master branch.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Stolen shamelessly from gahooa:
http://stackoverflow.com/questions/1030169/easy-way-pull-latest-of-all-submodules