Skip to content

Instantly share code, notes, and snippets.

@delacruz-dev
Created April 14, 2016 10:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save delacruz-dev/5b9d4271b65c5562becdcf5df81a37e9 to your computer and use it in GitHub Desktop.
Save delacruz-dev/5b9d4271b65c5562becdcf5df81a37e9 to your computer and use it in GitHub Desktop.
Bash script for updating recursively your git repositories given a root path
for dir in $(find . -name ".git"); do cd ${dir%/*}; git pull ; cd -; done
@delacruz-dev
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment