Created
January 20, 2014 10:12
-
-
Save timvw/8517781 to your computer and use it in GitHub Desktop.
Call git fetch for each folder in /c/src/Git
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
#!/bin/bash | |
find /c/src/Git -type d -mindepth 1 -maxdepth 1 -exec git --work-tree={} --git-dir={}/.git fetch \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment