1

In Visual Studio 2019, I can go to git history for a specific file.

How do I compare a specific version in the git history with current version. The only thing I find in right-click menu is compare to previous, which I rarely use.

(Basically same question as Can I compare a version from Git history to the current version (that isn't committed yet) in Visual Studio?)

enter image description here

Cowborg
  • 2,645
  • 3
  • 34
  • 51
  • Does this answer your question? [How to diff changed files versus previous versions after a pull?](https://stackoverflow.com/questions/2428270/how-to-diff-changed-files-versus-previous-versions-after-a-pull) – Liam Jan 28 '22 at 09:09
  • 1
    Don't use visual studio git integration. It's terrible. Just use a command line or one of the third party tool like source tree or git extensions – Liam Jan 28 '22 at 09:10
  • 1
    @Liam:Thanks for your replies and tips. I was hoping for a simpler way(than suggested link), like some extension. Ill keep this question open for a while, and If not I guess Ill have to use a 3rd party tool. – Cowborg Jan 28 '22 at 09:29
  • how much more simpler do you want? It's like 12 characters.... – Liam Jan 28 '22 at 09:32
  • 1
    I mean simpler to use. I would like similar functionality as "compare with previous", but for current. – Cowborg Jan 28 '22 at 10:12

1 Answers1

0

This was what I was looking for. New feature in VS2022, at least in v 17.3.4.

Cowborg
  • 2,645
  • 3
  • 34
  • 51