Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git reverse last push

git reset --hard <revision_id_of_last_known_good_commit>
git push --force
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #reverse #push
ADD COMMENT
Topic
Name
4+3 =