Using TFS-2013 with a project that is using git, is it possible to see the changes I made in Visual Studio 2013 Pro before I commit them? If so how?
Ie lets say I have /project
and i change line 32 of /project /foo.js
Is there a way It will show me what i changed on that line
In short I guess is there a visual way to do a Git Diff in visual studio I could just use Meld like i do on linux but there must be a good way to do this without leaving VS.
Microsoft Tools for Git looks awesome but its only for VS2012 . Is there a main repo where I can find a similar plugin for 2013?
Visual Studio 2013 has a built-in Git version control client. You'll find it on the "Team Explorer", at the bottom of the list of TFS projects. If you already have a local Git repository, simply add it using the add option. If you have access to a remote repository, but have not yet cloned it locally, you can clone it using the, you guessed it, clone option.
It should not be needed, but you may have to tell Visual Studio to turn on the "Visual Studio Git" provider or the "Team Foundation Server" provider. If you have other source control providers installed, like SourceSafe or SubVersion, they may hide this feature. To switch the source control provider, look under: Tools - Options - Source control - Plug-in Selection :
Visual Studio 2013 (as well as 2012) only support the http
and https
protocol to interact with a remote repository. ssh:
and git:
are not supported.
In the solution Explorer you can compare your current version to Unmodified:
The Git Diff Margin plugin provides additional information on local changes in the gutter of your source file:
And the Visual Studio 2013 ultimate feature "CodeLens" shows previous commits in the UI as well at the class and method level:
See also:
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.