6

I'm on a branch, and I'd like to see the diff between the currently-open file and the file's main version. I know I can do GitLens: Compare Working Tree with..., but then I have to find the current file in a (potentially-long) list of files. I want one command that just opens the current file's diff.

Loren
  • 13,903
  • 8
  • 48
  • 79

1 Answers1

3

Use the GitLens: Open Changes with Branch or Tag... command:

open changes

choose branch

carlfriedrich
  • 2,919
  • 1
  • 15
  • 29