官员
git-prompt.sh script
包括:
# In addition, if you set GIT_PS1_SHOWDIRTYSTATE to a nonempty value,
# unstaged (*) and staged (+) changes will be shown next to the branch
# name. You can configure this per-repository with the
# bash.showDirtyState variable, which defaults to true once
# GIT_PS1_SHOWDIRTYSTATE is enabled.
先检查一下你的电脑
~/.zshrc
如果你正在使用
vcs_info
instead
.
它可以有自己的一套定制,比如
this gist
.
例如,与
git stash list
如果你有任何文件。