Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git reset back to previous pushed commit

git reset --hard 'xxxxx'

git clean -f -d

git push -f
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #reset #previous #pushed #commit
ADD COMMENT
Topic
Name
7+4 =