Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (19.4k points)

I ran git cherry-pick <hash> and had merge conflicts. I don't want to resolve the conflicts, I just want to abort the cherry-pick. When doing an actual merge (with git merge) there's the handy git merge --abort. What's the equivalent for cherry-picking?

1 Answer

0 votes
by (27.5k points)
edited by

Since you're saying that you don't want to resolve the conflicts, you just want to abort the cherry-pick. 

This command should do the magic

$ git cherry-pick --abort

Browse Categories

...