CmdID

CmdID / Commands

git-revert

Create new commits which reverse the effect of earlier ones. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Revert the most recent commit

git revert HEADIdentify

Revert the 5th last commit

git revert HEAD~4Identify

Revert a specific commit

git revert 0c01a9Identify

Revert multiple commits

git revert branch_name~5..branch_name~2Identify

Don't create new commits, just change the working tree

git revert --no-commit 0c01a9..9a1743Identify

Cancel a Git revert after a merge conflict

git revert --abortIdentify