Simplify tree alias & split onto multiple lines

This commit is contained in:
Kenneth Benzie 2019-02-15 14:05:05 +00:00
parent 854df7bc22
commit 225fe9a243

5
config
View File

@ -25,8 +25,9 @@
changes = !sh -c 'git log --oneline $1..' --
touched = diff-tree --no-commit-id --name-only -r
tree = log --graph --abbrev-commit --oneline --decorate \
--format=format:'%C(yellow)%h%C(reset) %C(blue)%aD%C(reset) %C(green)(%ar)%C(reset)%C(bold)%d%C(reset)%n %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
tree = log --graph --format=format:'%C(yellow)%h%C(reset) \
%C(blue)%aD%C(reset) %C(green)(%ar)%C(reset)%C(bold)%d%C(reset)%n \
%C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
save = commit -am "temp!"
load = !sh -c '[ \"temp!\" = \"`git show --format=%s --no-patch`\" ] && \