Answer the question
In order to leave comments, you need to log in
Github. How to unmerge a pull-request merged into another branch by mistake?
Hello
. Such a problem, by mistake, a pull-request was frozen from the feature branch to the master branch, but it should have been in develop
There are three branches:
master
- develop
- - feature
How to cancel merge #2?
Answer the question
In order to leave comments, you need to log in
git checkout master
git reset HEAD^
git push -f origin master:master
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question