Top community members
All Questions Ask Question

Welcome to Dirask IT community! ❤ 💻
We are community of people that helps each other.

If you think you have some skills to help others

help someone and become a part of our community - List Q & A

How do I cancel git revert mode?

1 answers
6 points

How do I cancel git revert mode?

I tried to revert some files, but made some mistakes during the way.
Now I am in git revert mode:

miq@DES /c/project/cmp (master|REVERTING)
$ 

How to quit the '|REVERTING' part and go back to the branch 'master' ?

1 answers
2 points

 Quickes solution, just execute:

$ git revert --abort

And you should see:

miq@DES /c/project/cmp (master)
$ 

 

0 comments Add comment

Checkout latest Findings & News:

Checkout latest questions:

Checkout latest wiki articles:

Hey 👋
Would you like to know what we do?
  • Dirask is IT community, where we share coding knowledge and help each other to solve coding problems.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.
Read more