'Is there a command line tool to show git status in realtime?

I know there's git gui's like sourcetree and github for desktop, but I'm wondering if there's anything available that I could use from the command line to "watch" for changes and show the status of git files. If I were to modify a file, it would change the status of it without having to run git status.



Solution 1:[1]

Keep a terminal open in the background with this command running:

while :; do clear;date;git status; sleep 1; done

Even better, have a separate tmux pane dedicated to just showing this output.

This way, you can at-a-glace see the realtime status of the repo in the directory where this command was invoked.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jonathan.Brink