Created
September 1, 2014 16:52
-
-
Save cwaring/85891e6c3f19a6ed682e to your computer and use it in GitHub Desktop.
Update all repos in a 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 | |
for dir in * | |
do | |
echo $dir | |
(cd $dir && git pull) | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment