2 points · by madprops · 8y ago · 1 comment
Before you reinvent this wheel, there is already a tool doing exactly that: https://github.com/brandon-rhodes/uncommitted
(Disclaimer: I wrote a large part of it)
Bash script to check if any of the git locations in a list have uncommitted changes and show output in a GUI alert box using gxmessage
Bash script to check if any of the git locations in a list have uncommitted changes and show output in a GUI alert box using gxmessage - gitcheck.sh
Gist