Created
October 14, 2021 15:47
-
-
Save acodesmith/3bbea088ac2f8f3eba1f2997ba25f2b8 to your computer and use it in GitHub Desktop.
List all branch commits with somewhat pretty formatting
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
git log $(git branch --show-current) --not $(git for-each-ref --format='%(refname)' refs/heads/ | grep -v "refs/heads/$(git branch --show-current)") --pretty=format:"%B" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment