1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-05 09:15:42 +02:00
tldr/pages/common/git-fame.md
Managor ba6daef39d
*: standardize regex usage (#17328)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
2025-07-25 08:50:06 +03:00

36 lines
742 B
Markdown

# git fame
> Pretty-print Git repository contributions.
> More information: <https://manned.org/git-fame>.
- Calculate contributions for the current Git repository:
`git fame`
- Exclude files/directories that match the specified `regex`:
`git fame --excl "{{regex}}"`
- 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`