-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
10 lines (10 loc) · 921 Bytes
/
.gitconfig
File metadata and controls
10 lines (10 loc) · 921 Bytes
1
2
3
4
5
6
7
8
9
10
[credential]
helper = osxkeychain
[alias]
logx = log --max-count=20 --graph --decorate=short --color --format=format:'%C(bold blue)%h%C(reset)+%C(bold green)(%cr)%C(reset)+%C(auto)%d%C(reset)- %C(dim)%an%C(reset)%C(bold green): %s%C(reset)'
tree = !bash -c '" \
while IFS=+ read -r hash time branch message; do \
timelength=$(echo \"$time\" | sed -E \"s:[^ ][[]([0-9]{1,2}(;[0-9]{1,2})?)?m::g\"); \
timelength=$(echo \"16+${#time}-${#timelength}\" | bc); \
printf \"%${timelength}s %s %s %s\n\" \"$time\" \"$hash\" \"$branch\" \"$message\"; \
done < <(git logx && echo);"'