Created
December 2, 2015 03:52
-
-
Save jhn--/51278352d4805c4366ea to your computer and use it in GitHub Desktop.
bash script to blindly traverse every subfolder and execute a git pull
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/bash | |
for i in `find . -maxdepth 1 -mindepth 1 -type d`; do cd $i; git pull; cd ..; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment