1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-08 23:26:00 +02:00
tldr/pages/common/git-fame.md
Managor 36735f324a
common*: refresh old pages part 8 (#16293)
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
2025-05-03 05:57:20 +03:00

782 B

git fame

Pretty-print Git repository contributions. More information: https://github.com/casperdcl/git-fame#usage.

  • 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 {{[-t|--bytype]}}

  • Ignore whitespace changes:

git fame {{[-w|--ignore-whitespace]}}

  • Detect inter-file line moves and copies:

git fame -C

  • Detect intra-file line moves and copies:

git fame -M