Created
December 12, 2013 08:51
-
-
Save edwardtoday/7925002 to your computer and use it in GitHub Desktop.
find all .git directories and exec "git pull" on the parent.
This file contains hidden or 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 all .git directories and exec "git pull" on the parent. | |
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