Answers for "revert after merge"

4

git revert merge

git revert -m 1 <merge-commit>
Posted by: Guest on March-05-2020
1

undo merge

// find the commit hash
git log --oneline

git revert -m 1 [commit-hash]

// https://www.datree.io/resources/git-undo-merge
Posted by: Guest on October-01-2020

Browse Popular Code Answers by Language