From e0ca89a34b3fc77415b6837245b131d2db623fea Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Tue, 27 Jun 2023 08:41:59 +0200 Subject: [PATCH] Open TTY in git fadd to allow -p flag --- gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitconfig b/gitconfig index b620cef..80cbc66 100644 --- a/gitconfig +++ b/gitconfig @@ -20,7 +20,7 @@ [alias] adog = log --all --decorate --oneline --graph --date-order dog = log --decorate --oneline --graph --date-order - fadd = "! git status --porcelain | sed 's/^...//' | fzf -m --layout=reverse-list | xargs git add" + fadd = "! git status --porcelain | sed 's/^...//' | fzf -m --layout=reverse-list | xargs --open-tty git add" fixup = "!git commit --patch --no-edit --amend $(git diff --name-only HEAD~1..HEAD)" h = log -1 --format=%h hash = log -1 --format=%H