1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

git-fame: add page (#6012)

This commit is contained in:
bl-ue 2021-05-24 18:45:21 -04:00 committed by GitHub
parent 47892fbb04
commit 2ffe2276df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

36
pages/common/git-fame.md Normal file
View file

@ -0,0 +1,36 @@
# git fame
> Pretty-print Git repository contributions.
> More information: <https://github.com/casperdcl/git-fame>.
- 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`