Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git revert all commits to pervious commit

git revert --no-commit <commithash>..HEAD #revert changes in range of commits from head to back to that commit hash
 
PREVIOUS NEXT
Tagged: #git #revert #commits #pervious #commit
ADD COMMENT
Topic
Name
4+7 =