🐛 fix(git): Fix diff command

This commit is contained in:
punkfairie 2024-02-27 21:06:29 -08:00
parent bf6d6349fb
commit e30ac5fd57
Signed by: punkfairie
GPG key ID: A86AF57F837E320F
2 changed files with 5 additions and 4 deletions

View file

@ -15,10 +15,10 @@
daw = diff --word-diff # show diff by word
dasw = diff --staged --word-diff
d = "!f() { git diff "$@" ":(exclude)package-lock.json" ":(exclude)*.lock"; }; f"
ds = "!f() { git diff --staged "$@" ":(exclude)package-lock.json" ":(exclude)*.lock"; }; f"
dw = "!f() { git diff --word-diff "$@" ":(exclude)package-lock.json" ":(exclude)*.lock"; }; f"
dsw = "!f() { git diff --staged --word-diff "$@" ":(exclude)package-lock.json" ":(exclude)*.lock"; }; f"
d = "!f() { git diff "$@" ':(exclude)package-lock.json' ':(exclude)*.lock'; }; f"
ds = "!f() { git diff --staged "$@" ':(exclude)package-lock.json' ':(exclude)*.lock'; }; f"
dw = "!f() { git diff --word-diff "$@" ':(exclude)package-lock.json' ':(exclude)*.lock'; }; f"
dsw = "!f() { git diff --staged --word-diff "$@" ':(exclude)package-lock.json' ':(exclude)*.lock'; }; f"
st = status --short --branch
stu = status --short --branch -u

1
.gitignore vendored
View file

@ -74,3 +74,4 @@ data/
.config/qalculate/qalc.history
.config/wireshark/
hackin/
.config/fontforge/plugin/plugin_config.ini