1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-08 16:06:02 +02:00
tldr/pages/common/git-guilt.md
Managor 0e8893e1ba
git*: refresh pages (#16372)
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-05-05 09:12:13 +03:00

29 lines
735 B
Markdown

# git guilt
> Show total blame count for files with unstaged changes or calculate the change in blame between two revisions.
> Part of `git-extras`.
> More information: <https://manned.org/git-guilt>.
- Show total blame count:
`git guilt`
- Calculate the change in blame between two revisions:
`git guilt {{first_revision}} {{last_revision}}`
- Show author emails instead of names:
`git guilt {{[-e|--email]}}`
- Ignore whitespace only changes when attributing blame:
`git guilt {{[-w|--ignore-whitespace]}}`
- Find blame delta over the last three weeks:
`git guilt 'git log --until "3 weeks ago" --format "%H" {{[-n|--max-count]}} 1'`
- Find blame delta over the last three weeks (git 1.8.5+):
`git guilt @{3.weeks.ago}`