Created
July 24, 2023 16:29
-
-
Save nol166/6d114539d217469a690a9715c14d9b29 to your computer and use it in GitHub Desktop.
git - list most recently checked out branches
This file contains hidden or 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
gitlb='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' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment