Skip to content

Instantly share code, notes, and snippets.

@yzAlvin
Last active November 29, 2022 23:24
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 yzAlvin/8f29d055ce80657cf93bbb7c4145597d to your computer and use it in GitHub Desktop.
Save yzAlvin/8f29d055ce80657cf93bbb7c4145597d to your computer and use it in GitHub Desktop.
git commits since
git log <hash>.. --oneline //HEAD is implicit
git log --after="2014-02-12T16:36:00-07:00"
git log --before="2014-02-12T16:36:00-07:00"
git log --since="1 month ago"
git log --since="2 weeks 3 days 2 hours 30 minutes 59 seconds ago"
git log --merges --first-parent main \
--pretty=format:"%h %<(10,trunc)%aN %C(white)%<(15)%ar%Creset %C(red bold)%<(15)%D%Creset %s"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment