By default, the general appearance of the prompt is::
(<branch> <upstream branch> <branch tracking>|<local status>)
The symbols are as follows:
- Local Status Symbols
✔: repository clean●n: there arenstaged files✖n: there arenfiles with merge conflicts✖-n: there arenstaged files waiting for removal✚n: there arenchanged but unstaged files…n: there arenuntracked files⚑n: there arenstash entries
- Upstream branch
- Shows the remote tracking branch
- Disabled by default
- Enable by setting GIT_PROMPT_SHOW_UPSTREAM=1
- Branch Tracking Symbols
↑n: ahead of remote byncommits↓n: behind remote byncommits↓m↑n: branches diverged, other bymcommits, yours byncommitsL: local branch, not remotely tracked
- Branch Symbol:
When the branch name starts with a colon:, it means it's actually a hash, not a branch (although it should be pretty clear, unless you name your branches like hashes :-)