git: add few alias
This commit is contained in:
parent
365dd4f62b
commit
e43b582944
@ -11,6 +11,8 @@
|
|||||||
[alias]
|
[alias]
|
||||||
st = status
|
st = status
|
||||||
ci = commit
|
ci = commit
|
||||||
|
cia = commit --amend
|
||||||
|
cias = commit --amend --no-edit
|
||||||
co = checkout
|
co = checkout
|
||||||
br = branch
|
br = branch
|
||||||
df = diff
|
df = diff
|
||||||
@ -35,7 +37,7 @@
|
|||||||
cleanbr = remote prune origin
|
cleanbr = remote prune origin
|
||||||
cleanbrshow = remote prune origin --dry-run
|
cleanbrshow = remote prune origin --dry-run
|
||||||
contains = !sh -c 'git branch -a --contains $1' -
|
contains = !sh -c 'git branch -a --contains $1' -
|
||||||
|
wdiff = diff --word-diff=color --unified=1
|
||||||
[branch]
|
[branch]
|
||||||
#New branch track remote
|
#New branch track remote
|
||||||
#autoSetupMerge = always
|
#autoSetupMerge = always
|
||||||
|
Loading…
Reference in New Issue
Block a user