Fonts 字符';!1';和';!2';在命令提示符中
我正在使用一台Mac电脑,它使用iTerm2、OhMyZsh和Powerlevel10k主题。我已经直接从Powerlevel10k文档中安装了推荐的字体,并根据文档更新了Terminal、iTerm2和VS代码中的字体设置,并且它基本上是有效的,只是提示的结尾总是有一些意外的字符(通常是!1或!2)。到目前为止,我在文档、论坛搜索或互联网搜索中都没有找到对此有帮助的内容 任何能帮助我解决这个问题的提示,甚至是帮助我找到答案的正确搜索词,都将不胜感激。来自: Q:Git状态中的不同符号意味着什么? 使用精益、经典或彩虹风格时,Git状态可能如下所示:Fonts 字符';!1';和';!2';在命令提示符中,fonts,character,command-prompt,iterm2,oh-my-zsh,Fonts,Character,Command Prompt,Iterm2,Oh My Zsh,我正在使用一台Mac电脑,它使用iTerm2、OhMyZsh和Powerlevel10k主题。我已经直接从Powerlevel10k文档中安装了推荐的字体,并根据文档更新了Terminal、iTerm2和VS代码中的字体设置,并且它基本上是有效的,只是提示的结尾总是有一些意外的字符(通常是!1或!2)。到目前为止,我在文档、论坛搜索或互联网搜索中都没有找到对此有帮助的内容 任何能帮助我解决这个问题的提示,甚至是帮助我找到答案的正确搜索词,都将不胜感激。来自: Q:Git状态中的不同符号意味着什
feature:master ⇣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}` |
| `⇣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 --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` |
| `─` | the number of staged, unstaged or untracked files is unknown | `echo $POWERLEVEL9K_VCS_MAX_INDEX_SIZE_DIRTY` or `git config --get bash.showDirtyState` |
另见:
从:
Q:Git状态中的不同符号意味着什么?
使用精益、经典或彩虹风格时,Git状态可能如下所示:
feature:master ⇣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}` |
| `⇣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 --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` |
| `─` | the number of staged, unstaged or untracked files is unknown | `echo $POWERLEVEL9K_VCS_MAX_INDEX_SIZE_DIRTY` or `git config --get bash.showDirtyState` |
另见:
非常感谢你。这有助于我很好地理解我所看到的,从而找到答案。非常感谢。这有助于我很好地理解我在看什么,从而找到答案。