Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git undo merge

git reset --hard HEAD~1
git reset --hard <commit_sha>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #undo #merge
ADD COMMENT
Topic
Name
6+1 =