Back to Developer Roadmap

Undoing Changes

src/data/roadmaps/git-github/content/[email protected]

4.0636 B
Original Source

Undoing Changes

If mistakes or unwanted changes have been committed to your Git repository, there are ways to correct them. Two common methods for reverting changes include:

  • Git Reset: Resets the branch to a previous commit.
  • Git Revert: Creates a new commit that reverts specified changes.

Visit the following resources to learn more: