Goprompt is a VCS prompt for Git (and Mercurial).
This is my first Go application. I used it to learn about Interfaces.
Goprompt has no external dependencies other than the standard library
go install
Update your bash/zsh shell prompt:
PROMPT='(goprompt -f t:bnm)'
By default it prints out a prompt like this:
[git:master?] # if there are untracked files
And:
[git:master+] # if there are changes not staged for commit