Created
July 15, 2021 17:56
-
-
Save joshuacook/fff136dc266d39988aeb92ea343acf93 to your computer and use it in GitHub Desktop.
Git branches with date
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
eval "$( | |
git for-each-ref --shell --format \ | |
"git --no-pager log -1 --date=iso --format='%%ad '%(align:left,25)%(refname:short)%(end)' %%h %%s' \$(git merge-base %(refname:short) main);" \ | |
refs/heads | |
)" | sort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment