Created
May 8, 2018 12:45
-
-
Save er2/1cbad50049aba880571272d2c0f40ec8 to your computer and use it in GitHub Desktop.
~/.config/fish/functions/recent-branches.fish
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function recent-branches | |
git for-each-ref --sort=-committerdate refs/heads/ --format='%(color:yellow)%(refname:short)|%(color:bold green)%(committerdate:relative)|%(color:blue)%(subject)|%(color:magenta)%(authorname)%(color:reset)' | column -ts'|' $argv; | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment