Simplify tree alias & split onto multiple lines
This commit is contained in:
parent
854df7bc22
commit
225fe9a243
5
config
5
config
@ -25,8 +25,9 @@
|
|||||||
|
|
||||||
changes = !sh -c 'git log --oneline $1..' --
|
changes = !sh -c 'git log --oneline $1..' --
|
||||||
touched = diff-tree --no-commit-id --name-only -r
|
touched = diff-tree --no-commit-id --name-only -r
|
||||||
tree = log --graph --abbrev-commit --oneline --decorate \
|
tree = log --graph --format=format:'%C(yellow)%h%C(reset) \
|
||||||
--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)'
|
%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!"
|
save = commit -am "temp!"
|
||||||
load = !sh -c '[ \"temp!\" = \"`git show --format=%s --no-patch`\" ] && \
|
load = !sh -c '[ \"temp!\" = \"`git show --format=%s --no-patch`\" ] && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user