List all subfolders that are git repositories within a specified path. Displays a check mark next to repositories that are up to date with origin/master. Displays a red x next to repositories with commits waiting to be pushed. Right now just compares local master branch to origin/master.
I put this in ~/bin/
, then add this line to my bash profile:
export PATH=$PATH:~/bin/
From the terminal, call git-report [path]
.
In case you don't want to break out to python, I do this with a bash script: