Last active
August 29, 2017 12:17
-
-
Save w0rldart/49e4c262e9dab11b9acc to your computer and use it in GitHub Desktop.
Update all git repositories in a 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 dir in `ls -d */`; do BASE_PATH=`pwd`; DIR_PATH=$BASE_PATH/$dir; cd $DIR_PATH; git pull; cd ../ ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment