🚨️ ugit helps you undo your last git command with grace. Your damage control git buddy
ugit
Undo your last oopsie 🙈️ in git without much effort
Why ugit
You did an accidental git command you didn't want to.
You don't want to waste your time searching on how to undo ...
What's in the box
ugit supports undoing following operations, some are a WIP. If you know of any operation that can be undone and is not in the list, make sure to send a quick PR 💛️
Undo git commit
Undo git add
Undo git push
Undo git branch -D (branch delete)
Undo git pull
Undo git reset
Undo git tag -d (tag delete)
Undo git stash apply
Undo git stash pop/drop/clear
Undo accidental file delete (Restore a deleted file after a commit)
Wrote this script to undo your last git f**k up (still in WIP for a stable release)
Might help someone :)
Bhupesh-V / ugit
🚨️ ugit helps you undo your last git command with grace. Your damage control git buddy
ugit
Undo your last oopsie 🙈️ in git without much effort
Why
ugit
git
command you didn't want to.What's in the box
ugit
supports undoing following operations, some are a WIP. If you know of any operation that can be undone and is not in the list, make sure to send a quick PRgit commit
git add
git push
git branch -D
(branch delete)git pull
git reset
git tag -d
(tag delete)git stash apply
git stash pop/drop/clear
git merge
git tag
(rename a tag)git rebase
git cherry-pick
git worktree remove
(recover deleted work-tree)Installation
…
Wow! Great job! 🤯️