Skip to content

Instantly share code, notes, and snippets.

@delacruz-dev
Created April 14, 2016 10:55
Show Gist options
  • 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