From a34ea1b9cd29dd864aacef21d57f28460f8c88c8 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Fri, 20 Jul 2018 10:22:09 +0100 Subject: [PATCH] Wrap long lines in the Git pager. --- .gitconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitconfig b/.gitconfig index d8b2411..c45e583 100644 --- a/.gitconfig +++ b/.gitconfig @@ -12,6 +12,7 @@ packedGitWindowSize = 128m autocrlf = input excludesfile = ~/.gitignore_global + pager = less -SRFX [alias] lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'