Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

git remove two commits but not the code

IF you have NOT pushed your changes to remote
git reset HEAD~1
ELSE you have pushed your changes to remote
git revert HEAD
 
PREVIOUS NEXT
Tagged: #git #remove #commits #code
ADD COMMENT
Topic
Name
7+9 =