简体   繁体   English

将当前 git-version 与 Visual Studio 2019 中 git-history 中的特定版本进行比较

[英]Compare current git-version with a specific version in git-history in Visual Studio 2019

In Visual Studio 2019, I can go to git history for a specific file.在 Visual Studio 2019 中,我可以为特定文件的 go 到 git 历史记录。

How do I compare a specific version in the git history with current version.如何将 git 历史记录中的特定版本与当前版本进行比较。 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? ) (基本上与我可以将 Git 历史中的版本与 Visual Studio 中的当前版本(尚未提交)进行比较的问题相同吗?

在此处输入图像描述

这个 was what I was looking for.是我一直在寻找的。 New feature in VS2022, at least in v 17.3.4. VS2022 中的新功能,至少在 v 17.3.4 中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM