Created
May 23, 2014 16:29
-
-
Save tigerclaw-az/56b706fbd95e22c570ef to your computer and use it in GitHub Desktop.
Update all Git repos found in a given directory
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
#!/bin/sh | |
find $1 -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