dotfiles/bin/executable_git-branchinfo
2021-06-29 16:22:08 +02:00

4 lines
162 B
Bash

#!/bin/bash
for k in `git branch | perl -pe s/^..//`; do echo -e `git show --pretty=format:"%Cgreen%ci %Cblue%cr%Creset" $k -- | head -n 1`\\t$k; done | sort -r