Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

How to revert commit in Git

$ git revert [here comes the commit id]

-Note that this operation creates a new commit that reverts
all of the changes instead of removing given commit from history.
Source by curiosum.com #
 
PREVIOUS NEXT
Tagged: #How #revert #commit #Git
ADD COMMENT
Topic
Name
5+1 =