From eb40f528e329b605a2dcd55b989eb65b567b63bf Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Mon, 17 Jun 2019 00:36:40 +0200 Subject: [PATCH] [git/config] update alias ct showing more infos --- git/gitconfig | 6 ++++-- shell/aliases.sh | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/git/gitconfig b/git/gitconfig index 4bcf43b..46182db 100644 --- a/git/gitconfig +++ b/git/gitconfig @@ -15,10 +15,12 @@ eol = native pager = diff-so-fancy | less --tabs=4 -RFX [alias] - ct = log --graph --decorate --pretty=oneline --abbrev-commit - committree = log --graph --decorate --pretty=oneline --abbrev-commit + committree = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit + ct = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit d = difftool git = !exec git + s = status + unstage = reset HEAD -- [rerere] enabled = true [branch] diff --git a/shell/aliases.sh b/shell/aliases.sh index 4d09003..4d49b47 100755 --- a/shell/aliases.sh +++ b/shell/aliases.sh @@ -4,7 +4,6 @@ alias chmox="chmod +x" alias cd..="cd .." alias gits="git status" -alias gl="git log --oneline --all --abbrev-commit --graph --decorate --color" alias subl='subl3' alias les="less"