git: add `git mylog` command

pull/6/head
bretello 2021-10-09 12:28:10 +02:00
parent b8d56ee083
commit 2a43038a48
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 1 additions and 1 deletions

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'"