Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git hard reset to commit id

 git reset --hard <commit-hash>
 git push -f origin master
 
PREVIOUS NEXT
Tagged: #git #hard #reset #commit #id
ADD COMMENT
Topic
Name
5+4 =