diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-03-12 09:45:02 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-03-12 09:45:02 +0100 |
commit | 91949f1d2c4a20905ae0aa3f704aa24194763255 (patch) | |
tree | 3a1ccb45e686a51c9bb38166301b5a88c1bdd9e9 | |
parent | 17e26cd70d858b72a5e0d693f640022731f9188c (diff) |
gitconfig: add 'lb' alias for a pretty branch listing
-rw-r--r-- | dotfiles/gitconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dotfiles/gitconfig b/dotfiles/gitconfig index 76eac29..4b00362 100644 --- a/dotfiles/gitconfig +++ b/dotfiles/gitconfig @@ -18,6 +18,11 @@ diff = diff-highlight | less -F [alias] brlog = log -p --reverse origin/master..HEAD + lb = branch --format=\ +'%(HEAD) \ +%(align:width=48)%(color:yellow)%(refname:short)%(color:reset)%(end)\ +%(contents:subject) - \ +(%(color:green)%(committerdate:relative)%(color:reset))' [diff] renames = copy colorMoved = true |