Skip to content

Instantly share code, notes, and snippets.

@r0oland
Last active February 13, 2025 11:57
Show Gist options
  • Save r0oland/16465a136518a94c14b2b84f48e06d7d to your computer and use it in GitHub Desktop.
Save r0oland/16465a136518a94c14b2b84f48e06d7d to your computer and use it in GitHub Desktop.
GIT Usefull
# pretty output on command line
git log --since='1 month ago' --format='%Cgreen%ci%Creset %s%Creset' --no-merges
# more details
git log --since='1 month ago' --format='%Cgreen%ci%Creset %s%Creset' --no-merges --shortstat
# even more details
git log --since='1 month ago' --format='%Cgreen%ci%Creset %s%Creset' --no-merges --stat
# output to summary file
git log --since='1 year ago' --format='%Cgreen%ci%Creset %s%Creset' --shortstat --no-merges > commit_summary.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment