git reset <commit>

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

Explanation: The command that moves the HEAD pointer to a specified commit, undoing changes. Resetting modifies the staging area and can impact the working directory based on options.

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