aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md18
1 files changed, 10 insertions, 8 deletions
diff --git a/README.md b/README.md
index 55fa28d8..80ebcb93 100644
--- a/README.md
+++ b/README.md
@@ -708,16 +708,18 @@ feature:master ⇣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` |
+| `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}` |
-| `⇣42` | this many commits behind the remote | `git status` |
-| `⇡42` | this many commits ahead of the remote | `git status` |
+| `⇣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}` |
+| `⇢42` | this many commits ahead of the push remote | `git rev-list --left-right --count HEAD...@{push}` |
| `*42` | this many stashes | `git stash list` |
-| `merge` | repository state | `git status` |
-| `~42` | this many merge conflicts | `git status` |
-| `+42` | this many staged changes | `git status` |
-| `!42` | this many unstaged changes | `git status` |
-| `?42` | this many untracked files | `git status` |
+| `merge` | repository state | `git status --ignore-submodules=dirty` |
+| `~42` | this many merge conflicts | `git status --ignore-submodules=dirty` |
+| `+42` | this many staged changes | `git status --ignore-submodules=dirty` |
+| `!42` | this many unstaged changes | `git status --ignore-submodules=dirty` |
+| `?42` | this many untracked files | `git status --ignore-submodules=dirty` |
*Related*: [How do I change the format of Git status?](#how-do-i-change-the-format-of-git-status)