V
V
Viktor Novikov2017-04-12 12:00:29
GitHub
Viktor Novikov, 2017-04-12 12:00:29

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?
e5c5d3933bc64d649bab9e32c4f81614.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Bulgakov, 2017-04-21
@YourDesire

git checkout master
git reset HEAD^
git push -f origin master:master

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question