How to undo a merge on Bitbucket?

后端 未结 4 1683
無奈伤痛
無奈伤痛 2021-01-31 02:24

I\'ve created a merge (into the \'master\' branch) that\'s now on a Bitbucket repo. Long story short: I need to undo that merge.

I know that you can do this at the Gith

4条回答
  •  情深已故
    2021-01-31 02:49

    I would suggest doing a revert instead, since you are reverting a public repo.

    git revert HEAD
    git push -f origin
    

提交回复
热议问题