|
|
|
@ -899,13 +899,14 @@ Zsh but it won't do anything.
|
|
|
|
|
When using Lean, Classic or Rainbow style, Git status may look like this:
|
|
|
|
|
|
|
|
|
|
```text
|
|
|
|
|
feature:master ⇣42⇡42 ⇠42⇢42 *42 merge ~42 +42 !42 ?42
|
|
|
|
|
feature:master wip ⇣42⇡42 ⇠42⇢42 *42 merge ~42 +42 !42 ?42
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
| Symbol | Meaning | Source |
|
|
|
|
|
| --------- | -------------------------------------------------------------------- | ------------------------------------------------------ |
|
|
|
|
|
| `feature` | current branch; replaced with `#tag` or `@commit` if not on a branch | `git status --ignore-submodules=dirty` |
|
|
|
|
|
| `master` | remote tracking branch; only shown if different from local branch | `git rev-parse --abbrev-ref --symbolic-full-name @{u}` |
|
|
|
|
|
| `wip` | the latest commit's summary contains "wip" or "WIP" | `git show --pretty=%s --no-patch HEAD` |
|
|
|
|
|
| `⇣42` | this many commits behind the remote | `git status --ignore-submodules=dirty` |
|
|
|
|
|
| `⇡42` | this many commits ahead of the remote | `git status --ignore-submodules=dirty` |
|
|
|
|
|
| `⇠42` | this many commits behind the push remote | `git rev-list --left-right --count HEAD...@{push}` |
|
|
|
|
|