Skip to content

Instantly share code, notes, and snippets.

@al3x
Created December 7, 2009 22:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save al3x/251202 to your computer and use it in GitHub Desktop.
Save al3x/251202 to your computer and use it in GitHub Desktop.
Brute force updates and directories beneath the current directory that might be git submodules (or just cloned repos).
for i in $(find . -d 1 -type d); do cd $i; echo $i; git pull; cd ..; echo ""; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment