git: add few alias

This commit is contained in:
Mathieu Maret 2017-11-24 10:41:07 +01:00
parent 365dd4f62b
commit e43b582944

View File

@ -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