Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git remove last pushed commit

git reset --hard 'xxxxx'

git clean -f -d

git push -f
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #remove #pushed #commit
ADD COMMENT
Topic
Name
9+3 =