Skip to content

Instantly share code, notes, and snippets.

@jaredstehler
Created August 31, 2015 14:36
Show Gist options
  • Save jaredstehler/6f7b77be4290726dda38 to your computer and use it in GitHub Desktop.
Save jaredstehler/6f7b77be4290726dda38 to your computer and use it in GitHub Desktop.
for i in `find . -mindepth 1 -maxdepth 1 -type d -exec test -e "{}/.git/index" ';' -print`; do echo $i; cd $i; git pull; cd ..; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment