The Pragmatic Git
  • Home
  • About
  • Author
  • Member Zone
Sign in Subscribe

Undoing changes

A collection of 2 posts
The Git Reflog — Your Hidden Lifeline
Members only
Git Featured

The Git Reflog — Your Hidden Lifeline

Did I just delete a month's work? 😱 Just the thought of it probably gives you the creeps. Here's how to recover deleted branches and commits!
10 Mar 2023 7 min read
How to Undo Changes in Git (reset vs revert vs restore)
Git Featured

How to Undo Changes in Git (reset vs revert vs restore)

The need to undo changes during development is commonplace working with Git, but can many times feel daunting. In this post we'll look at three simple ways of undoing changes using reset, revert, and restore.
23 Sep 2021 7 min read
Page 1 of 1
The Pragmatic Git © 2025
  • Data & privacy
  • Contact
Powered by Ghost