RSSAmplifier

Jessica Temporal · Jun 28, 2026

Undoing more than one commit at once with git revert

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

You may already know how to use git revert to reverse a single commit, but you can also revert a range of commits with a single command. In this pro tip, you’ll learn how. Reverting one commit You can reverse the changes in a given commit by creating a new commit with git revert , passing the commit hash: 1 git revert c37fb73 The command is straightforward. It works by: Creating the changes that…

Read on jtemporal.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.