Skip to content

Instantly share code, notes, and snippets.

@DanaCase
Last active August 8, 2019 18:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DanaCase/651cc6be16f81ccb4ff99a04891f29a7 to your computer and use it in GitHub Desktop.
Save DanaCase/651cc6be16f81ccb4ff99a04891f29a7 to your computer and use it in GitHub Desktop.
'From https://mislav.net/2014/02/hidden-documentation/
'See who has been working on stuff in the last 6 months
git log --format='%an' --since='6 months ago' . | sort | uniq -c | sort -rn | head
'Get the last two tags
git describe --tags $(git rev-list --tags --max-count=2)
'Log commit messages from 0.23.0 to 0.23.2
git log 0.23.0..0.23.2 --pretty=format:"%h %s"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment