Skip to content

Instantly share code, notes, and snippets.

@jkremser
Created April 27, 2026 10:29
Show Gist options
  • Select an option

  • Save jkremser/b9b8f2b5206313cfcfb87ca7fa516633 to your computer and use it in GitHub Desktop.

Select an option

Save jkremser/b9b8f2b5206313cfcfb87ca7fa516633 to your computer and use it in GitHub Desktop.
tig - blame before
```
tig
Use up / down cursor keys - to select the revision you want to start from
t - enter tree view
up / down / enter to find the file you want
b to open blame view
up / down - to move up and down the lines in the file
View full patch for selected line:
enter to view the last patch for that line
q to close the patch view
To view older versions:
, - to show the blame of the file from before this patch
< (i.e. shift+,) to step back out to more recent versions of the file
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment