Last active
November 13, 2022 19:28
-
-
Save SteveDesmond-ca/df035d1221ef645e3c54e11af6fd6d5e to your computer and use it in GitHub Desktop.
git-all
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
ga() { | |
find * -name .git -type d \ | |
| sed 's/\/\.git$//' \ | |
| sort \ | |
| xargs -I % bash -c \ | |
" \ | |
echo && \ | |
echo % && \ | |
git -C % $* \ | |
" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment