简体   繁体   中英

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. This post says it was not working in VS2012 but I can't find anything about VS2015.

I need to compare a local file with the version on Git.

Source Control Explorer only works with TFVC - there is not a corresponding Source Control Explorer for 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

You can view local changes with the Changes page, or compare versions from the history page.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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