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

Undoing changes

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

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!
Mar 10, 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.
Sep 23, 2021 6 min read
Page 1 of 1
The Pragmatic Git © 2023
  • Data & privacy
  • Contact
Powered by Ghost