Compare commits

...

2 Commits

8
config
View File

@ -15,6 +15,9 @@
prepare = rebase -i --fork-point
list = branch
local = !git branch -vv | \
cut -c 3- | \
awk '$3 !~/\\[/ { print $1 }'
create = checkout -b
delete = branch -D
refname = rev-parse --abbrev-ref HEAD
@ -25,8 +28,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`\" ] && \