Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git remove las remotet commit

git reset HEAD^ # remove commit locally
git push origin +HEAD # force-push the new HEAD commit
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #remove #las #remotet #commit
ADD COMMENT
Topic
Name
1+4 =