git: add stash aliases

master
Guillaume DOTT 2014-07-07 14:47:00 +02:00
parent ba8eff576f
commit 0eedc97f79
1 changed files with 9 additions and 1 deletions

View File

@ -8,9 +8,13 @@
pr = pull --rebase pr = pull --rebase
dc = diff --cached dc = diff --cached
r = remote r = remote
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=tformat:'%C(red)%h%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 amend = commit --amend -C HEAD
s = stash
sl = stash list
ss = stash show
[diff] [diff]
tool = vimdiff tool = vimdiff
[merge] [merge]
@ -19,4 +23,8 @@
keepBackup = false keepBackup = false
[credential] [credential]
helper = cache helper = cache
[help]
autocorrect = -1
[rerere]
enabled = true
# vim: set filetype=gitconfig: # vim: set filetype=gitconfig: