Undo Button in GitHub for Windows
At GitHub, we know that even great developers sometimes make mistakes. So, in GitHub for Windows, we’ve added Undo support for Discards, Commits, Rollbacks, and Merges: If you’ve accidentally committed…
At GitHub, we know that even great developers sometimes make mistakes. So, in
GitHub for Windows, we’ve added Undo support for
Discards, Commits, Rollbacks, and Merges:

If you’ve accidentally committed something, undoing it is now a snap. If
you’re still stuck though, you can always send an email to our
Supportocats!
Written by
Related posts
TypeScript, Python, and the AI feedback loop changing software development
An interview with the leader of GitHub Next, Idan Gazit, on TypeScript, Python, and what comes next.
What 986 million code pushes say about the developer workflow in 2025
Nearly a billion commits later, the way we ship code has changed for good. Here’s what the 2025 Octoverse data says about how devs really work now.
Introducing Agent HQ: Any agent, any way you work
At Universe 2025, GitHub’s next evolution introduces a single, unified workflow for developers to be able to orchestrate any agent, any time, anywhere.