add git undo
This commit is contained in:
@ -7,3 +7,8 @@
|
||||
excludesfile = ~/.gitignore_global
|
||||
[pull]
|
||||
rebase = true
|
||||
[alias]
|
||||
undo = "!u() { \
|
||||
NUM="${1:-1}"; \
|
||||
git reset --soft HEAD~$1; \
|
||||
};u"
|
||||
|
Reference in New Issue
Block a user