Last active
December 12, 2023 18:53
-
-
Save skarllot/402476fb852307f5cfa194c6ac57f63f to your computer and use it in GitHub Desktop.
Analyze Git commits between 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
# Format: - 2023-05-15 Name: Commit message | |
git log --cherry-pick --right-only --no-merges --reverse --pretty="- %ad %cn: %s" --date=short branch-a...branch-b | |
# Format: - 2023-05-15 Commit message | |
git log --cherry-pick --reverse --pretty="- %ad %<(35,trunc)%s" --date=short branch-a...branch-b | |
# Format: [email protected] 2023-04-25 initial commit | |
git log --cherry --reverse --pretty="%<(20,trunc)%ce%x09%>(10)%ad%x09%s" --date=short branch-a...branch-b | |
git log --cherry --reverse branch-a...branch-b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment