Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to unmerge branch in git

git reset --merge <merge-commit-hash>
# or
git reset --hard <commit-before-merge>
 
PREVIOUS NEXT
Tagged: #unmerge #branch #git
ADD COMMENT
Topic
Name
3+4 =