Show HN: Bash script to check if any Git repo has uncommitted changes Posted by madprops on Sunday September 02, 2018 @12:54PM from the show-hn dept. https://gist.github.com/madprops/a94a977e32ba7602f4cdef46e67bf8a8 ( 1 comment | 2 points | on HN )
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)