Created
April 14, 2016 10:55
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for dir in $(find . -name ".git"); do cd ${dir%/*}; git pull ; cd -; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Kudos: http://stackoverflow.com/a/21212389