[英]How do I compare a local file with the one on Git in Visual Studio
Is there a way in VisualStudio 2015 to get the Source Control Explorer to work with Git. Visual Studio 2015中是否有一种方法可以使Source Control Explorer与Git一起使用。 This post says it was not working in VS2012 but I can't find anything about VS2015.
这篇文章说它在VS2012中不起作用,但是我找不到关于VS2015的任何东西。
I need to compare a local file with the version on Git. 我需要将本地文件与Git上的版本进行比较。
Source Control Explorer only works with TFVC - there is not a corresponding Source Control Explorer for Git. 源代码管理资源管理器仅适用于TFVC-没有相应的Git源代码管理资源管理器。 You might want to vote on this user voice suggestion for it to be included in the future:
您可能希望对该用户语音建议进行投票,以便将来将其包括在内:
https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/4178754-visual-studio-tools-for-git-extension-microsoft-g https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/4178754-visual-studio-tools-for-git-extension-microsoft-g
You can view local changes with the Changes page, or compare versions from the history page. 您可以使用“更改”页面查看本地更改,或从“历史记录”页面比较版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.