A heads up display for git
I use a modified version of mislav's git prompt <a href="https://gist.github.com/mislav/1712320" rel="nofollow">https://gist.github.com/mislav/1712320</a> which is pretty minimal but usually enough for me.<p>For when I have to wrangle lots of files at once (like during interactive rebase to clean up history before push) I have a <i>git watch</i> alias that shows a high-level overview of changes that refreshes with inotify:<p><pre><code>  [alias]
      watch = "!clear;inotifywait --quiet -mr -e modify,move,create,delete --format \"%f %e\" @/.git . | \
  while read file; do \
      clear;\
      git status --short;\
      git --no-pager diff --shortstat;\
  done;"
</code></pre>
I leave that running in a visible terminal window. It's more verbose than a prompt and reduces the need for constant <i>git status</i> sanity-checking. Maybe useful for someone.