Created
August 1, 2018 03:02
-
-
Save yanshengjia/8d2538f746170d7047c240c837d3afd1 to your computer and use it in GitHub Desktop.
Enter each folder and git pull
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 | |
for f in /Users/yanshengjia/GitHub/*; | |
do | |
[ -d $f ] && cd "$f" && echo Entering into $f and git pull | |
git pull | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment