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]
.
Nice work. I really like the presentation format. I wrote something like this that also checks other branches, the stash, and a few other things. https://github.com/adamwolf/check_project