| Start | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Only show certain lines Output can be restricted by specifying line ranges as
Where Multiple line ranges can be specified, and overlapping ranges are allowed.
|
||||||||||||||||||||||||||||||||
| Show the commit that last modified a line
will show the file with each line annotated with the commit that last modified it. |
||||||||||||||||||||||||||||||||
| Ignore whitespace-only changes Sometimes repos will have commits that only adjust whitespace, for example fixing indentation or switching between tabs and spaces. This makes it difficult to find the commit where the code was actually written.
will ignore whitespace-only changes to find where the line really came from. |
||||||||||||||||||||||||||||||||
To find out who changed a file Syntax
Parameters
RemarksThe git blame command is very useful when it comes to know who has made changes to a file on a per line base. |
Read Article
https://develop.horje.com/learn/1434/reference