Created
May 19, 2023 11:57
-
-
Save nol166/2a2fc528474d80eae288d8ba5cef146b to your computer and use it in GitHub Desktop.
git - show rcently checked out branches
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
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