DEV Community

dgloriaweb
dgloriaweb

Posted on

How to stop VSCode showing "|REVERTING" in terminal bash for a failed revert

Hi, I've tried to revert to an earlier commit, and it failed. So I did git reset --hard to reset, and it worked fine, however the above message was stuck in the git bash, so I found this: https://git-scm.com/docs/git-revert

git revert --quit

I know, straight forward, but took me a while to find.

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more