Skip to content

Instantly share code, notes, and snippets.

@marocchino
Created September 8, 2011 00:38
Show Gist options
  • Save marocchino/1202294 to your computer and use it in GitHub Desktop.
Save marocchino/1202294 to your computer and use it in GitHub Desktop.
git submoduel update zsh script
for i in $(cat .gitmodules|grep path\\b|sed 's/path = //')
do cd $i
git checkout master
git pull
1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment