Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

github undo last pushed commit

git reset <previous label or sha1>
git commit -am "blabla"
git push -f <remote-name> <branch-name>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #github #undo #pushed #commit
ADD COMMENT
Topic
Name
9+5 =