Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| git_blame [2019/02/17 12:49] – [Some useful options] rpjday | git_blame [2019/03/07 14:04] (current) – [Some useful config options] rpjday | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| Most useful variations of '' | Most useful variations of '' | ||
| + | |||
| + | From '' | ||
| + | |||
| + | < | ||
| + | The only difference between this command and git-blame(1) is | ||
| + | that they use slightly different output formats, and this | ||
| + | command exists only for backward compatibility to support | ||
| + | existing scripts, and provide a more familiar command name for | ||
| + | people coming from other SCM systems. | ||
| + | </ | ||
| ===== Basic usage ===== | ===== Basic usage ===== | ||
| Line 10: | Line 20: | ||
| $ git blame Makefile | $ git blame Makefile | ||
| b24413180f560 (Greg Kroah-Hartman | b24413180f560 (Greg Kroah-Hartman | ||
| - | c517d838eb7d0 | + | bfeffd1552837 |
| - | 60cc43fc88842 | + | bfeffd1552837 |
| 55922c9d1b84b (Linus Torvalds | 55922c9d1b84b (Linus Torvalds | ||
| - | 67b8d5c708122 | + | d13937116f1e8 |
| - | 75bc37fefc447 | + | 2e6e902d18502 |
| ^1da177e4c3f4 (Linus Torvalds | ^1da177e4c3f4 (Linus Torvalds | ||
| ^1da177e4c3f4 (Linus Torvalds | ^1da177e4c3f4 (Linus Torvalds | ||
| Line 21: | Line 31: | ||
| ^1da177e4c3f4 (Linus Torvalds | ^1da177e4c3f4 (Linus Torvalds | ||
| ^1da177e4c3f4 (Linus Torvalds | ^1da177e4c3f4 (Linus Torvalds | ||
| - | ^1da177e4c3f4 (Linus Torvalds | + | ^1da177e4c3f4 (Linus Torvalds |
| ... snip ... | ... snip ... | ||
| </ | </ | ||
| Line 33: | Line 43: | ||
| 6271897978072 (Joe Perches | 6271897978072 (Joe Perches | ||
| 155ad605b3c9c (Sam Ravnborg | 155ad605b3c9c (Sam Ravnborg | ||
| + | |||
| + | (oh, look ...) | ||
| + | |||
| c4d5ee67ce265 (Robert P. J. Day 2009-04-24 12:35:23 -0400 1424) | c4d5ee67ce265 (Robert P. J. Day 2009-04-24 12:35:23 -0400 1424) | ||
| ^1da177e4c3f4 (Linus Torvalds | ^1da177e4c3f4 (Linus Torvalds | ||
| Line 91: | Line 104: | ||
| ===== Some useful config options ===== | ===== Some useful config options ===== | ||
| - | < | + | From '' |
| - | | + | |
| - | Show blank commit object name for boundary commits in git- | + | |
| - | | + | |
| - | blame.coloring | + | < |
| - | | + | blame.blankBoundary |
| - | | + | Show blank commit object name for boundary commits in git- |
| - | which is the default. | + | blame(1). |
| - | blame.date | + | blame.coloring |
| - | Specifies | + | This determines |
| - | If unset the iso format is used. For supported values, see | + | |
| - | the discussion of the --date option at git-log(1). | + | which is the default. |
| - | blame.showEmail | + | blame.date |
| - | Show the author email instead of author name in git- | + | |
| - | blame(1). | + | If unset the iso format is used. For supported values, see |
| + | the discussion of the --date | ||
| - | blame.showRoot | + | blame.showEmail |
| - | | + | Show the author email instead of author name in git- |
| - | | + | blame(1). This option defaults to false. |
| + | | ||
| + | Do not treat root commits as boundaries in git-blame(1). | ||
| + | This option defaults to false. | ||
| </ | </ | ||