Skip to content

Glossary: Command Line and Git

revert

A new commit that undoes an earlier one without rewriting history, so it is safe on shared work.

Where the book teaches it

Related terms

git revertgit commit --amend