Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git checkout previous commit

git reset --hard HEAD~10
To rollback 10 commits back:
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #checkout #previous #commit
ADD COMMENT
Topic
Name
2+9 =