Last active
October 10, 2017 11:56
-
-
Save rbsilva/266552b1e66cf8eb83cbea8e79a7d15d to your computer and use it in GitHub Desktop.
List all git repositories under a directory and show the git status
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
#!/bin/bash | |
git config --global alias.ls '!find . -maxdepth 2 -name .git -type d -printf "\n\033[32m>>> %P:\033[0m\n\n" -execdir git status \;' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment