From 2ad3619bdb4489b23fab6746ab50605a776a430c Mon Sep 17 00:00:00 2001 From: mg Date: Wed, 13 Sep 2023 15:04:35 +0200 Subject: [PATCH] bash: gdel --- .bash_extra | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bash_extra b/.bash_extra index fbd0fdb..4a54c54 100644 --- a/.bash_extra +++ b/.bash_extra @@ -198,7 +198,7 @@ alias tree="tree -a -I **.git**" # git alias gs="git status" alias gf="git fetch" -alias gdel="git add . && git stash && git stash clear" +alias gdel="git reset --hard ; git clean -f" alias glast="git log -1 HEAD --stat" alias gd="git diff" alias gsp="git stage -p"