Add symlink to git-undo

The `git` command will run any command named `git-something` in your
`$PATH` when you run `git something`.

Add a `git-undo` symlink to make `ugit` feel more integrated with `git`.

Closes #15
This commit is contained in:
Joe Block 2021-05-19 09:39:33 -06:00
parent b2d696c5d6
commit 3a918f45ec
2 changed files with 4 additions and 2 deletions

View file

@ -38,12 +38,13 @@ https://user-images.githubusercontent.com/34342551/117613992-4ddc9300-b185-11eb-
- You did an accidental `git` command you didn't want to.
- You don't want to waste your time searching on _how to undo ..._
- Because ugit is cool
- Because `ugit` is cool
### [Motivations behind writing ugit 🙇‍♂️️](https://bhupesh-v.github.io/undo-your-last-git-mistake-with-ugit)
## What's in the box
`ugit` supports undoing following operations, some are a WIP. If you know of any other operations that can be undone and is not in the list, make sure to send a quick PR 💛️
`ugit`/`git-undo` supports undoing following operations, some are a WIP. If you know of any other operations that can be undone and is not in the list, make sure to send a quick PR 💛️
- [x] Undo `git commit`
- [x] Undo `git add`

1
git-undo Symbolic link
View file

@ -0,0 +1 @@
ugit