Created
January 23, 2019 22:13
-
-
Save davidtingsu/ac4be55389608a5f290c1653f9fd00f7 to your computer and use it in GitHub Desktop.
get git commits in time range and output description in oneline
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
# https://devhints.io/git-log-format | |
# https://stackoverflow.com/a/19169532/1123985 | |
git rev-list master --author=Name --before="12/31/2018" --after="1/1/2018" | | |
while read sha1; do | |
git show -s --format='"%s","%ci","%B"' $sha1 | tr \n' ''; echo | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment