Open TTY in git fadd to allow -p flag

This commit is contained in:
Talia 2023-06-27 08:41:59 +02:00
parent 1f04cfc15c
commit e0ca89a34b

View file

@ -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