Skip to content

Instantly share code, notes, and snippets.

@helior
Created October 24, 2012 22:40
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 helior/3949408 to your computer and use it in GitHub Desktop.
Save helior/3949408 to your computer and use it in GitHub Desktop.
Find Git repositories and run `git pull` on each of them.
find . -type d -name .git | xargs -n 1 dirname | while read line; do echo $line && cd $line && git pull && cd ..; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment