查看 Visual Studio Git 提交时,如何打开文件的本地副本?

TTT*_*TTT 8 git visual-studio visual-studio-2017

在 Visual Studio 中查看 Git 提交时(我目前使用的是 2017),每天很多次我希望打开在提交中编辑的文件的本地副本,但没有内置选项(我知道)可以做到这一点。以下是查看提交时的可用选项:

在此输入图像描述

Note that the "Open" option opens a read-only copy of the file as it looked in the commit. I would like to open the current version of that file in my checked out branch (usually so I can make edits based on PR suggestions). Today what I do is: switch over to Solution Explorer, type the filename into the search box, wait for it to find it, and then open the file. But this is slow and cumbersome to do hundreds of times per day. I'm thinking there should be another option next to "Open" like "Open Local Copy".

Is there a way to do this in VS, or using an existing plugin?

Von*_*onC 2

通过团队资源管理器/提交详细信息完成后,似乎没有任何本机功能/插件可以打开该文件。

搜索所述文件将是当前的解决方法。但建议增强始终是一种选择。