Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

undo the most recent local commits in Git

git commit -m “this was a mistake”
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #undo #local #commits #Git
ADD COMMENT
Topic
Name
7+3 =