A command-line tool that helps undo over 20 common git mistakes, saving you from searching for complex git recovery commands.
ugit is a command-line tool that helps developers undo common git mistakes. It provides a simple way to recover from over 20 scenarios like accidental commits, pushes, merges, or branch deletions, eliminating the need to search for complex git recovery commands.
Developers and teams who use git regularly and want a quick, reliable way to revert mistakes without interrupting their workflow.
ugit saves time and reduces frustration by offering a unified, interactive interface for undoing git operations, making recovery more accessible than memorizing or looking up individual git commands.
🚨️ ugit helps undo git commands. Your damage control git buddy. Undo from 20+ git scenarios.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses fzf for a user-friendly, menu-driven interface to choose undo actions, as shown in the README demos for operations like git add and branch delete.
Covers over 20 common git mistakes, from commits and pushes to file recovery and merge undo, with an extensible list maintained in the README.
Offers easy setup via package managers (e.g., Homebrew for Mac, AUR for Linux), Docker, and shell frameworks like Oh-My-Zsh, as detailed in the installation section.
Reduces context switching by providing a unified command for undoing git errors, eliminating the need to memorize or search for complex git recovery commands.
Requires fzf, specific Bash and Git versions, and GNU utils, adding setup complexity and potential compatibility issues, especially on Windows.
Lacks support for undoing rebase and worktree removal, which are marked as WIP in the README, limiting its usefulness for advanced git workflows.
Can clash with git-extras' git-undo command, requiring manual intervention like using --overwrite flags or PATH adjustments, as noted in the installation notes.