add git last alias

This commit is contained in:
Thomas Ruoff
2017-01-18 08:28:38 +01:00
committed by Thomas Ruoff
parent c5975a7d07
commit b9809425dd

View File

@@ -20,6 +20,7 @@
diffstat = diff --stat -r
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
fix = "!f() { ${EDITOR} $(git diff --name-only | uniq ); }; f"
last = "!l() { ${EDITOR} $(git diff-tree --no-commit-id --name-only -r HEAD ); }; l"
[merge]
tool = bc3
[mergetool]