Last active
July 23, 2017 01:29
-
-
Save robhoare/05174445188e53d8979389858670333c to your computer and use it in GitHub Desktop.
Update (git pull) all git repos that are directly below the 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 i in $(ls -d */); do echo ${i%%/}; cd ${i%%/}; git pull; cd ..; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment