Skip to content

Instantly share code, notes, and snippets.

@shauvik
Last active July 21, 2020 15:56
Show Gist options
  • Save shauvik/6f04e5025c6dcc23dde019a7a6dc46da to your computer and use it in GitHub Desktop.
Save shauvik/6f04e5025c6dcc23dde019a7a6dc46da to your computer and use it in GitHub Desktop.
Git commands
# show commits on a day
for d ({1..21}) {git log --pretty=format:"%h %ad" --after="2020-07-$d 00:00" --before="2020-07-$d 23:59" | wc -l}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment