Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git revert to commit hash

git reset --hard 56e05fced # commit hash

git reset --soft "HEAD@{1}"
 
PREVIOUS NEXT
Tagged: #git #revert #commit #hash
ADD COMMENT
Topic
Name
7+4 =