I have:
My prompt is stuck at git action status cherry-or-revert.
I've switched branches, no change. I've done an interactive rebase, and it changes to rebase-i, but after that rebase it goes back to cherry-or-revert.
I have no clue. It only happens in one of my local repos.
.zshrc:export PS1="%c ❯"
autoload -U promptinit; promptinit
prompt pure
prompt_newline=$(echo -n "\u200B")
I'm using the hack to put everything on 1 line (from https://github.com/sindresorhus/pure/issues/228), but I don't think that's related. Something in my git repo is causing this. I'm happy to just manually change/delete a file, but I'm failing to find which one.
Had the same problem myself, and might have found a solution that works for you too.
TL;DR; run git revert --quit or git cherry-pick --quit (was the latter for me)
Google a bit and found this very related issue in another Github project. One of the maintainers pointed the OP towards .git/sequencer and someone else chimed in with the commands needed to fix it. 🎉
@hmps That's awesome, I searched around a bit, but couldn't find it.
Thank you so much!
Most helpful comment
Had the same problem myself, and might have found a solution that works for you too.
TL;DR; run
git revert --quitorgit cherry-pick --quit(was the latter for me)Google a bit and found this very related issue in another Github project. One of the maintainers pointed the OP towards
.git/sequencerand someone else chimed in with the commands needed to fix it. 🎉