🐛 fix(git): Fix diff command
This commit is contained in:
parent
bf6d6349fb
commit
e30ac5fd57
2 changed files with 5 additions and 4 deletions
|
@ -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
1
.gitignore
vendored
|
@ -74,3 +74,4 @@ data/
|
|||
.config/qalculate/qalc.history
|
||||
.config/wireshark/
|
||||
hackin/
|
||||
.config/fontforge/plugin/plugin_config.ini
|
||||
|
|
Loading…
Reference in a new issue