From 77bad723f7bbf7e38275b42479520f57a643dce3 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Wed, 14 Sep 2022 03:25:31 +0530 Subject: git restore fzf --- .config/shell/aliasrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index cf9ef41..a6e920b 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -29,7 +29,7 @@ alias \ #cut -d\ -f4 alias \ g1='git add "$(git status -s | fzf | cut -b 1-3 --complement)"' \ - gr='git restore --staged' \ + gr='git restore --staged "$(git status -s | fzf | cut -b 1-3 --complement)"' \ g2='git commit -S -m' \ g3='git push "$(git remote show | fzf)" HEAD' \ gs='git status' \ -- cgit v1.2.3