Skip to content

Instantly share code, notes, and snippets.

@localhost8080
Last active November 4, 2016 12:39
Show Gist options
  • Save localhost8080/3ba35a7ebfaef124e552 to your computer and use it in GitHub Desktop.
Save localhost8080/3ba35a7ebfaef124e552 to your computer and use it in GitHub Desktop.
pull all projects in ~/development
find ~/git/ -type d -name .git \
| xargs -n 1 dirname \
| sort \
| while read line; do echo $line && cd $line && git pull; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment