Answers for "undo last 2 commits git"

0

git remove last two commits from branch

git reset --hard HEAD^^
Posted by: Guest on September-13-2021
0

git revert last 2 commits

$ git revert --no-commit D
$ git revert --no-commit C
$ git revert --no-commit B
$ git commit -m "the commit message"
Posted by: Guest on September-18-2020

Code answers related to "TypeScript"

Browse Popular Code Answers by Language