git: modify and add aliases

master
Guillaume DOTT 2013-02-08 11:19:14 +01:00
parent 912cf17852
commit 0b06330ac9
1 changed files with 3 additions and 2 deletions

View File

@ -2,13 +2,14 @@
ui = auto ui = auto
interactive = auto interactive = auto
[alias] [alias]
st = status st = status -sb
ci = commit ci = commit
co = checkout co = checkout
pr = pull --rebase pr = pull --rebase
diffc = diff --cached dc = diff --cached
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
ll = log --stat --abbrev-commit ll = log --stat --abbrev-commit
amend = commit --amend -C HEAD
[diff] [diff]
tool = vimdiff tool = vimdiff
[merge] [merge]