19 lines
557 B
Plaintext
19 lines
557 B
Plaintext
[color]
|
|
status=always
|
|
diff=always
|
|
|
|
[alias]
|
|
co = checkout
|
|
ci = commit
|
|
st = status
|
|
sti = status --ignored
|
|
br = branch
|
|
ll = log --graph --stat --decorate
|
|
di = diff
|
|
ca = diff --cached
|
|
ch = diff --stat
|
|
dif = !( GIT_PAGER=cat git diff --color=always --stat && echo && GIT_PAGER=cat git diff --color=always) | less -R
|
|
old = "!f() { git blame \"$1\" | sort -k3,4 | less -R; }; f"
|
|
m = "!f() { (GIT_PAGER=cat git status ; GIT_PAGER=cat git diff --cached --stat ; GIT_PAGER=cat git diff --stat) | less -R;}; f"
|
|
|