Skip to content

Commit 6077041

Browse files
committed
add alias suggestions + update logo
1 parent 01b54cf commit 6077041

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# git-undo
1+
# *git undo* 🥐 — a Git plugin that enables Ctrl+Z functionality 💫
22

33
<p align="center">
44
<img src="logo.png" alt="Logo" width="300"/><br>
55
</p>
6-
<h3 align="center">Ctrl+Z for Git commands</h3>
76

87
## 1. `git undo`: one simple command to undo (almost) any Git operation:
98

@@ -61,6 +60,15 @@ cd git-undo
6160

6261
**Requirements:** Git, Go ≥ 1.21, Bash/Zsh
6362

63+
## Suggestions for aliases
64+
65+
```bash
66+
alias gu="git undo"
67+
alias gub="git back"
68+
alias guu="git undo undo"
69+
alias gul="git undo --log | head"
70+
```
71+
6472
## Supported commands to be undo-ed:
6573

6674
| Git Command | How it's undone | Notes |

logo.png

-419 KB
Loading

0 commit comments

Comments
 (0)