Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

reset or revert last commit

git reset --hard HEAD~1
git push origin HEAD --force
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reset #revert #commit
ADD COMMENT
Topic
Name
4+4 =