mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-25 20:54:34 +00:00
Add linediff alias
This commit is contained in:
parent
9921a7bdc4
commit
4aaa1e1e64
|
@ -42,6 +42,7 @@
|
|||
ds = "diff --staged"
|
||||
dw = "diff --word-diff"
|
||||
dcm = "!sh -c 'git diff $0~ $0'"
|
||||
linediff = "!sh -c 'git diff --unified=0 $1 $2 | grep -Po \"(?<=^\\+)(?!\\+\\+).*\" '"
|
||||
|
||||
b = "branch"
|
||||
ba = "branch --all"
|
||||
|
|
Loading…
Reference in a new issue