Created
April 22, 2016 18:22
-
-
Save drrobotnik/09a539f1e8ef705cc7110562baed575a to your computer and use it in GitHub Desktop.
git pull recursively from one level above
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
find . -maxdepth 1 -type d \( ! -name . \) -exec bash -c "cd '{}' && git rev-parse --verify staging && if [ -n "$?" ]; then ggl; fi" \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment