##git-substatus
List the short status of all subdirectory git repositories.
usage: git-substatus [-d DIR] [-R] [-h] [-v] [-u] [-V]
Git utility to show the status of all subfolder git repositories
Options:
-d DIR, --dir DIR The parent directory to the git repositories.
-R, --reverse-sort Reverse the order of the listed repositories.
-h, --help Show this help message and exit.
-v, --verbose Writes all messages to console.
-u, --update Checks server for an update, replaces the current
version if there is a newer version available.
-V, --version show program's version number and exit
Run the following command:
SDIR=/usr/local/bin/; wget https://raw.github.com/gesquive/git-substatus/master/git-substatus.py -O ${SDIR}/git-substatus && chmod +x ${SDIR}/git-substatus
If you wish to install to a different directory just change the SDIR value.
Keep in mind, if you want to be able to run the script as a git sub-command (ie. run as git substatus) you must make the script executable and available on the $PATH
- Show a status printout in case script is called within a git directory
- Add auto-detection of a color tty and adjust printout accordingly