Created
November 25, 2014 15:35
-
-
Save lamdor/4ddb5d6da268e4579c2e 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
| #!/bin/sh | |
| for dir in `find . -maxdepth 2 -name '.git' -type d`; do | |
| echo $dir | |
| git --git-dir=$dir --work-tree=$dir/.. "$@" | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment