From 2fff49b4ee226cae9fcfa8e5e1c022fa26f702d2 Mon Sep 17 00:00:00 2001 From: Bhupesh-V Date: Tue, 11 May 2021 12:48:02 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20add=20more=20video=20demos=20+?= =?UTF-8?q?=20better=20installation=20guide?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 2 -- README.md | 36 ++++++++++++++++++++++++++++++------ 2 files changed, 30 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2d149d1..2d109c7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,5 +19,3 @@ jobs: # This may be used to check a shell script for syntax errors (ignored by interactive shells). run : | bash -n ugit - sh -n ugit - diff --git a/README.md b/README.md index 21346bd..165c818 100644 --- a/README.md +++ b/README.md @@ -17,13 +17,29 @@ ugit demo: restore file gif

+

More Video Demos ✨️ + +

Undo git add

+ +https://user-images.githubusercontent.com/34342551/117613719-f1797380-b184-11eb-9ff1-689b125265a9.mp4 + +

Undo git branch -D

+ +https://user-images.githubusercontent.com/34342551/117613828-18d04080-b185-11eb-808b-fa1a65876ee9.mp4 + +

Undo git merge

+ +https://user-images.githubusercontent.com/34342551/117613992-4ddc9300-b185-11eb-9286-bdc8b3aa2a8d.mp4 + +

+ ## 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 ..._ - Because ugit is cool -### [More video demos & motivations behind writing ugit 🙇‍♂️️](https://bhupesh-v.github.io/undo-your-last-git-mistake-with-ugit) +### [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 💛️ @@ -45,6 +61,8 @@ - [ ] Undo `git cherry-pick` - [ ] Undo `git worktree remove` (recover deleted work-tree) +Help me finish above tasks by contributing? + Have any other ideas/suggestions? [**Hop in to ugit discussions 💬️**](https://github.com/Bhupesh-V/ugit/discussions/7) ## Installation @@ -57,23 +75,29 @@ Have any other ideas/suggestions? [**Hop in to ugit discussions 💬️**](https 1. Install the script using `wget` + **Linux** ```bash - # Linux wget -q https://github.com/Bhupesh-V/ugit/releases/latest/download/ugit && chmod +x ugit && mv ugit $HOME/.local/bin/ - # Mac + ``` + + **Mac** + ```bash wget -q https://github.com/Bhupesh-V/ugit/releases/latest/download/ugit && chmod +x ugit && mv ugit /usr/local/bin ``` or `curl` + **Linux** ```bash - # Linux curl -fsSL https://github.com/Bhupesh-V/ugit/releases/latest/download/ugit -o ugit && chmod +x ugit && mv ugit $HOME/.local/bin/ - # Mac + ``` + + **Mac** + ```bash curl -fsSL https://github.com/Bhupesh-V/ugit/releases/latest/download/ugit -o ugit && chmod +x ugit && mv ugit /usr/local/bin ``` - Or Arch Linux users can install [**ugit via AUR**](https://aur.archlinux.org/packages/ugit) + Or Arch Linux users can install [**ugit via AUR**](https://aur.archlinux.org/packages/ugit). 2. Verify installation ```bash