Created
June 12, 2013 18:05
-
-
Save dkavanagh/5767647 to your computer and use it in GitHub Desktop.
pullupdates.sh
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
branch=`git rev-parse --abbrev-ref HEAD` | |
echo "pulling from "$branch | |
git submodule foreach git pull origin $branch | |
git pull origin $branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment