[git] Add several usefull alias

This commit is contained in:
Mathieu Maret 2014-09-17 11:53:44 +02:00 committed by Mathieu Maret
parent cc25c23e33
commit 2fbe2993b5

View File

@ -26,6 +26,16 @@
# textconv=odt2txt
#[diff "odt"]
# textconv=odt2txt
# Remove last commit but keep changes
undo = git reset --soft HEAD^
# last commit
lasts = log --pretty=oneline --abbrev-commit --graph --decorate
# last commit from last pull
lastpull = !git lasts HEAD --stat --no-merges
revertpart = reset -p HEAD^
diffword = diff --color-words=.
save = stash save -u
[difftool "meld"]
path = /usr/bin/meld
trustExitCode = false