Last active
January 3, 2017 11:48
-
-
Save bwv988/f01b7553941ec5192b8f2dd9eeb24cc3 to your computer and use it in GitHub Desktop.
Recursive git pull
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
find . -maxdepth 1 -type d -exec git --git-dir={}/.git --work-tree=$PWD/{} pull origin master \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Small gist to recursively update git repositories under the current working directory.