Git Fame Cheatsheet

· 135 words · 1 minute read

git fame: Pretty-print Git repository contributions.

Calculate contributions for the current Git repository:

git fame

Exclude files/directories that match the specified regular expression:

git fame --excl "regular_expression"

Calculate contributions made after the specified date:

git fame --since "3 weeks ago|2021-05-13"

Display contributions in the specified format:

git fame --format pipe|yaml|json|csv|tsv

Display contributions per file extension:

git fame --bytype

Ignore whitespace changes:

git fame --ignore-whitespace

Detect inter-file line moves and copies:

git fame -C

Detect intra-file line moves and copies:

git fame -M

More information: .

I hope this post helps you. If you know a person who can benefit from this information, send them a link of this post. If you want to get notified about new posts, follow me on YouTube , Twitter (x) , LinkedIn , Facebook , Telegram and GitHub .