Espresso
Espresso

Reputation: 930

How to watch git log and git status

I would like to watch the output of the local git status and git log commands so that anytime a change is made to code in my local git repository the git status and git log commands are re-run and the new output is shown. Any ideas on how I might accomplish this?

Upvotes: 2

Views: 768

Answers (1)

Jorenar
Jorenar

Reputation: 2884

You could use watch command. For example watch -n 5 git log will rerun git log every five seconds.

Upvotes: 3

Related Questions