bookmark

Undo a pushed merge with git | Christian Engvall


Description

git revert -m 1 <merge-commit>

With ‘-m 1’ we tell git to revert to the first parent of the mergecommit on the master branch. -m 2 would specify to revert to the first parent on the develop branch where the merge came from initially (lieber vorher prüfen welcher branch welcher ist)

Preview

Tags

Users

  • @jil

Comments and Reviews