Add git pick-modified command and git pm alias

This commit is contained in:
Talia 2023-10-24 16:59:08 +02:00
parent 67477adc1b
commit d9be01655a

View file

@ -20,8 +20,8 @@
[alias]
adog = log --all --decorate --oneline --graph --date-order
dog = log --decorate --oneline --graph --date-order
fadd = "! git status --porcelain | sed -e '/^??/d' -e 's/^...//' | fzf -m --layout=reverse-list | xargs --open-tty git add"
faddall = "! git status --porcelain | sed 's/^...//' | fzf -m --layout=reverse-list | xargs --open-tty git add"
fadd = "! git pick-modified | xargs --open-tty git add"
faddall = "! git status --porcelain | cut -b 4- | fzf --multi --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
@ -34,6 +34,8 @@
track = add --intent-to-add
ts = timeshift
reword = commit --amend --no-verify
pick-modified = "! git status --porcelain | sed '/^??/d' | cut -b 4- | fzf --multi --layout reverse-list"
pm = pick-modified
[user]
useConfigOnly = true
[user "darkwiiplayer"]