added git simple config
This commit is contained in:
parent
fffa46fa6a
commit
e5ee039774
|
@ -0,0 +1,18 @@
|
||||||
|
[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"
|
||||||
|
|
Loading…
Reference in New Issue