summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-09-14 03:25:31 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-09-14 03:25:31 +0530
commit77bad723f7bbf7e38275b42479520f57a643dce3 (patch)
tree37d5491636cbd1af127e050428e17c924c4ac359
parentef65fc573cc459a38d118a10bd37a7ce9cd9c4b3 (diff)
git restore fzf
-rw-r--r--.config/shell/aliasrc2
1 files changed, 1 insertions, 1 deletions
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' \