From 4158349a461f8cb8785486e131d4b6b890230cb1 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Sat, 8 Jun 2019 15:42:42 +0200 Subject: [PATCH] Simplifying git lg --- .gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitconfig b/.gitconfig index eab5f83..57b3547 100644 --- a/.gitconfig +++ b/.gitconfig @@ -10,5 +10,5 @@ co = checkout br = branch ci = commit - lg = log --date-order --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit + lg = log --graph --pretty=format:'%C(auto)%h%d %s %C(blue)%ci %C(green)%an%Creset' pr = !sh -c \"git fetch upstream pull/${1}/head:pr_${1} && git worktree add ../$(basename $(git rev-parse --show-toplevel))-pr-${1} pr_${1}\"