Skip to content

Instantly share code, notes, and snippets.

@mrakowski
Last active October 19, 2021 08:51
Show Gist options
  • Save mrakowski/9535a0c2069fac1c187b to your computer and use it in GitHub Desktop.
Save mrakowski/9535a0c2069fac1c187b to your computer and use it in GitHub Desktop.
git log examples
// Show a list of previous commits
git log
git log --oneline --since=1.days
git log --no-merges
git log --since=1.days
git log --pretty=format:"%s" --no-merges -n 25
git log --pretty=format:"%s" --no-merges --since=1.days
git log --pretty=format:"%s" --no-merges --since=18.hours
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment