Is there a command line tool that can look through a directory recursively for all the .git repos and check for uncommitted code? The use case is I have a machine at work and one at home and sometimes I forget to push code to Github before I go home after work. Does such a tool exist that can do this? Perhaps git itself can do this?
I might want to write something like this myself just for fun - does anyone know how to inspect a .git repo for uncommitted code? I supposed I could run the git command and collect the results somehow.