ugit helps undo git commands. ugit/git-undo supports undoing the following operations, some are a WIP: git 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, accidental file delete (Restore a deleted file after a commit), (Restore) a file to a previous version, git merge, git cherry-pick, and git tag.
ugit helps undo git commands. ugit/git-undo supports undoing the following operations, some are a WIP: git 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, accidental file delete (Restore a deleted file after a commit), (Restore) a file to a previous version, git merge, git cherry-pick, and git tag.
To install ugit, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install ugit
To see what files were installed by ugit, run:
port contents ugit
To later upgrade ugit, run:
sudo port selfupdate && sudo port upgrade ugit
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.