Created
June 25, 2014 11:59
-
-
Save oxUnd/603a7ed19b0e7dbb471c to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
find . -type d -depth 1 | grep -e '^./[^.].*' | awk '{ | |
system("cd " $1 " && test -d .git && git pull origin master && cd -") | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment