how undo merge git code example
Example 1: git undo comflicted merge
git merge --abort
Example 2: undo merge
// find the commit hash
git log --oneline
git revert -m 1 [commit-hash]
// https://www.datree.io/resources/git-undo-merge
git merge --abort
// find the commit hash
git log --oneline
git revert -m 1 [commit-hash]
// https://www.datree.io/resources/git-undo-merge