.dotfiles/.config/fish/functions/gbage.fish

6 lines
332 B
Fish
Raw Permalink Normal View History

2024-10-21 20:46:27 +03:00
function gbage -d "List local branches and display their age"
git for-each-ref --sort=committerdate refs/heads/ \
--format="%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))"
end