Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

undo merge

// find the commit hash
git log --oneline

git revert -m 1 [commit-hash]

// https://www.datree.io/resources/git-undo-merge
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #undo #merge
ADD COMMENT
Topic
Name
7+1 =