Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git revert merge commit

// In this situation, will get you the tree as it was in 8989ee0
git revert <commit hash> -m 1 

//will reinstate the tree as it was in 7c6b236
git revert -m 2
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #revert #merge #commit
ADD COMMENT
Topic
Name
9+6 =