From: R. Steve McKown Date: Wed, 16 Mar 2016 22:27:00 +0000 (-0600) Subject: .gitconfig: add 'branches' alias X-Git-Url: https://oss.titaniummirror.com/gitweb?p=smckown%2Fdotfiles.git;a=commitdiff_plain;h=0113b720b5c12adae26ed782704f01f085ac74e4 .gitconfig: add 'branches' alias Lists all refs/heads and refs/remotes in order of authordate descending. Shows which branches have been changed, in time order. --- diff --git a/gitconfig b/gitconfig index 03591f1..60e9675 100644 --- a/gitconfig +++ b/gitconfig @@ -5,6 +5,7 @@ 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]