-
-
Save stephen2m/05be806b5f3d23d26f6809460c70816c to your computer and use it in GitHub Desktop.
Lots of repos? Try "git-pull-recursive" to run "git pull" on all subfolders with a .git folder inside.Thanks to http://snipplr.com/view/62314/perform-git-pull-on-subdirectory-recursive/
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 use in a shell: | |
# Download this file to /usr/local/bin/git-pull-recursive, then chmod 755 it to install git-pull-recursive | |
find . -type d -name .git -exec sh -c "cd \"{}\"/../ && pwd && git pull" \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment