git revert
Create new commits which reverse the effect of earlier ones.
- Revert the most recent commit:
- Revert the 5th last commit:
- Revert multiple commits:
- Don't create new commits, just change the working tree:
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).