[git] Add several usefull alias
This commit is contained in:
parent
cc25c23e33
commit
2fbe2993b5
10
.gitconfig
10
.gitconfig
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user