1GIT-GUILT(1) Git Extras GIT-GUILT(1)
2
3
4
6 git-guilt - calculate change between two revisions
7
9 git guilt [<option>]
10 git guilt [<option>] <since> [<until>]
11
13 In the first form, shows total blame count for files with unstaged
14 changes.
15
16 In the second form, calculates the change in blame between two revi‐
17 sions. If not specified, <until> will default to HEAD.
18
20 -h
21
22 Output usage information
23
24 -e, --email
25
26 Display author emails instead of names
27
28 -w, --ignore-whitespace
29
30 Ignore whitespace only changes when attributing blame
31
32 -d, --debug
33
34 Output debug information
35
37 Find blame on unstaged modified files:
38
39
40
41 $ git guilt (1)
42 spacewander ++++
43
44 (1) There is only one modified file and it is not staged. The four
45 pluses means that the file has four lines, all contributed by spacewander.
46
47
48
49 Find blame delta between two commits:
50
51
52
53 $ git guilt HEAD~3 HEAD^
54 spacewander +++++++++++++++++++++++++++++++++++++++++++++(115)
55 Jesse Sipprell -
56
57
58
59 Find blame delta over the last three weeks:
60
61
62
63 $ git guilt `git log --until="3 weeks ago" --format="%H" -n 1`
64 Paul Schreiber +++++++++++++++++++++++++++++++++++++++++++++(349)
65 spacewander +++++++++++++++++++++++++++++++++++++++++++++(113)
66 Mark Eissler ++++++++++++++++++++++++++
67 CJ +++++
68 nickl- -
69 Jesse Sipprell -
70 Evan Grim -
71 Ben Parnell -
72 hemanth.hm --
73
74
75
76 Since git 1.8.5, the above can also be written as:
77
78 $ git guilt @{3.weeks.ago}
79
80 Find blame delta for a topic branch:
81
82
83
84 $ git guilt `git merge-base master git-guilt` git-guilt
85 spacewander +++++++++++++++++++++++++++++++++++++++++++++(112)
86
87
88
90 Written by spacewander <spacewanderlzx@gmail.com>
91
93 <https://github.com/tj/git-extras/issues>
94
96 <https://github.com/tj/git-extras>
97
98
99
100 October 2017 GIT-GUILT(1)