Skip to content

Instantly share code, notes, and snippets.

@102
Last active July 11, 2023 00:22
Show Gist options
  • Save 102/f2b7472441c124fbd10f4cdedae4cb8f to your computer and use it in GitHub Desktop.
Save 102/f2b7472441c124fbd10f4cdedae4cb8f to your computer and use it in GitHub Desktop.
get commits by author between two dates
# to get commit messages of user 'rgusev' betwen 2017-01-01 and 2017-31-12
# sh gitcommitsbydate.sh rgusev 2017-01-01 2017-31-12
git log --author=$1 --pretty=format:"%s" --no-merges --after="$2" --before="$3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment