zsh 提示在当前 git 分支旁边显示 >R

zsh prompt displaying >R alongside current git branch

我使用 zsh,我最近开始看到这个 master >R 而不仅仅是 master

git 状态低于;

On branch master
Your branch is up-to-date with 'upstream/master'.
Last command done (1 command done):
   edit d36ecbb cfn II
No commands remaining.
You are currently editing a commit while rebasing branch 'DEV-87' on '7b06369'.
  (use "git commit --amend" to amend the current commit)
  (use "git rebase --continue" once you are satisfied with your changes)

nothing to commit, working directory clean

有什么想法吗?

好吧,根据你的 "screenshot" 看起来你正在变基并因此得到一个 >R 标记...

如果要中止变基,请键入 git rebase --abort