1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-24 04:21:31 +01:00

git: add git mylog command

This commit is contained in:
bretello 2021-10-09 12:28:10 +02:00
parent b8d56ee083
commit 2a43038a48
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -30,7 +30,7 @@ squash = true
abbrevcommit = true
[format]
#pretty = format:%C(yellow)commit %h%Cred%d %Creset%nAuthor: %Cblue%>(12)%an%n%CgreenDate: %ar%Creset%n%n%B
[alias]
showtool = "!showci () { rev=${1:-HEAD}; git difftool $rev~1 $rev; }; showci $1"
mylog = "log --pretty='format:👉 %C(yellow)commit: %h%C(auto)%d %Creset%nAuthor: %C(auto,cyan)%>(12)%an (%aE)%n%C(reset)Date: %C(auto,green)%ar%Creset%nContent: %s'"