Add git pick-modified command and git pm alias
This commit is contained in:
parent
67477adc1b
commit
d9be01655a
1 changed files with 4 additions and 2 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue