git revert <commit>

Term side of the Card
Topic: Git Commands - Undo Changes
Unit title: git revert <commit>
Categories: Command
Explanation side of the Card

Explanation: The command that creates a new commit to reverse changes from a specific commit. It allows safely undo changes without rewriting history.

Edit on GitHubContributions in our content repository are 🤗 welcome from everyone.Link leads to the Contributions guidelines on GitHubLink leads to the content repository on GitHub