From 05d37ba6418edd99340b02114ce79d78f0e2f801 Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Thu, 7 Apr 2016 13:32:17 -0400 Subject: [PATCH] added pretty format --- gitconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gitconfig b/gitconfig index c697b7e..090bc77 100644 --- a/gitconfig +++ b/gitconfig @@ -23,10 +23,12 @@ prompt = false [difftool "delta"] cmd = delta \"$LOCAL\" \"$REMOTE\" \"$MERGED\" +[format] + pretty = format:%C(auto)%h %C(cyan)%G? %C(green)%<(15,trunc)%aN %C(dim magenta)%<(15,trunc)%ar %C(white)%<(60,trunc)%s %C(auto)%d [alias] ls = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative - #files = log --numstat --pretty=format:"[%cn]" files = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat + files2 = log --numstat --pretty=format:"[%cn]" logtree= "log --graph --oneline --decorate --all" alias = "!git config -l | grep alias | cut -c 7-" recent = "!git for-each-ref --format=\"%(committerdate:relative) | %(refname)\" --sort=-committerdate refs/heads | sed '/master/d' | head -n 10" @@ -34,7 +36,6 @@ tabs = "!git diff --color | sed 's/\\t/⌑/g'" v=describe --tags --match 'v*' st = status - ci = commit -v [filter "lfs"] clean = git-lfs clean %f smudge = git-lfs smudge %f