From 3a918f45ece5db692f05fe22083ec48a8066e3cf Mon Sep 17 00:00:00 2001 From: Joe Block Date: Wed, 19 May 2021 09:39:33 -0600 Subject: [PATCH] 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 --- README.md | 5 +++-- git-undo | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) create mode 120000 git-undo diff --git a/README.md b/README.md index ed0cb29..9e02b15 100644 --- a/README.md +++ b/README.md @@ -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` diff --git a/git-undo b/git-undo new file mode 120000 index 0000000..25b3176 --- /dev/null +++ b/git-undo @@ -0,0 +1 @@ +ugit \ No newline at end of file