From 96fabb8f4048e221061012182b561b597eac1414 Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Wed, 16 Mar 2016 17:59:13 -0600 Subject: [PATCH] .gitconfig: replace branches with heads dfltargs * Remove the branches alias * Rely on git-heads being installed (git-utils.git) * Local git-heads has a mod to use .gitconfig heads.dfltargs if the heads command is ran with no arguments and heads.dfltargs is not empty. --- gitconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gitconfig b/gitconfig index 60e9675..ee65066 100644 --- a/gitconfig +++ b/gitconfig @@ -5,7 +5,6 @@ ui = auto [alias] llog = log --date=local - branches = !git for-each-ref --sort='-authordate' --format='%(authordate)\t%(objectname:short)\t%(refname)' refs/{heads,remotes} | sed -e 's|refs/heads/||' -e 's|refs/remotes/||' | less [log] decorate = true [diff] @@ -23,3 +22,5 @@ default = simple [branch] autosetuprebase = always +[heads] + dfltargs = -a --author-date-order \"--format=format:%C(auto)%ad %h%d\" -- 2.39.2