Files
cheatsheet-tldr/tldr/git-fame
2025-05-04 00:21:53 +00:00

42 lines
875 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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`