Skip to main content
The blame command shows who last modified each line of a file, along with the commit ID and date.
dv blame <path> [-L <start,end>]
<path> is the file to show blame information for. [-L <start,end>] limits the output to a specific line range. For example, -L 10,20 shows only lines 10 through 20. For each line, the output includes:
  • Commit ID - the commit that last changed the line
  • Author - who made the change
  • Date - when the change was made
  • Line number and content - the current line text
For example, to see who last modified each line in a file:
dv blame src/main.py
To see blame for a specific range of lines:
dv blame src/main.py -L 10,20