Add git fadd command for fzf add

This commit is contained in:
Talia 2023-06-01 15:21:33 +02:00
parent 0eeaca7588
commit dba2f18138
1 changed files with 7 additions and 6 deletions

View File

@ -18,19 +18,20 @@
[push] [push]
default = matching default = matching
[alias] [alias]
head = log -1 --show-signature --format=fuller
adog = log --all --decorate --oneline --graph --date-order adog = log --all --decorate --oneline --graph --date-order
dog = log --decorate --oneline --graph --date-order dog = log --decorate --oneline --graph --date-order
stat = log --oneline --stat --date-order fadd = "! git status --porcelain | sed 's/^...//' | fzf -m --layout=reverse-list | xargs 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
head = log -1 --show-signature --format=fuller
identity = "! git config user.name \"$(git config user.$1.name)\"; git config user.email \"$(git config user.$1.email)\"; :" identity = "! git config user.name \"$(git config user.$1.name)\"; git config user.email \"$(git config user.$1.email)\"; :"
root = rev-parse --show-toplevel root = rev-parse --show-toplevel
fixup = "!git commit --patch --no-edit --amend $(git diff --name-only HEAD~1..HEAD)" stat = log --oneline --stat --date-order
ts = timeshift
task = "! TASKDATA=$(git rev-parse --show-toplevel)/.git/task task" task = "! TASKDATA=$(git rev-parse --show-toplevel)/.git/task task"
time = "! TIMEWARRIORDB=$(git rev-parse --show-toplevel)/.git/time timew" time = "! TIMEWARRIORDB=$(git rev-parse --show-toplevel)/.git/time timew"
track = add --intent-to-add track = add --intent-to-add
h = log -1 --format=%h ts = timeshift
hash = log -1 --format=%H
[user] [user]
useConfigOnly = true useConfigOnly = true
[user "darkwiiplayer"] [user "darkwiiplayer"]