Created
June 15, 2012 00:23
-
-
Save cmaitchison/2933814 to your computer and use it in GitHub Desktop.
git-fetch all repos beneath current directory
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 repo in $(find . -name .git -type d) | |
do | |
echo $repo | |
GIT_DIR=$repo git fetch --all --quiet; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment