net_prog
net_prog

Reputation: 10251

Git version in Visual Studio 2013?

I use VS 2013, which, as I know, integrates with Git using its own libraries (libgit2, libgit2sharp).

When I run Git Bash, I see the version of the installed Git is 1.8.3-previewXXX, not sure, though, whether this version was installed by Visual Studio, or at the time when I installed 3-rd party Git tools upon the VS request.

The question is: does VS use this Git 1.8.3 installed in Program Files/Git through its libraries (libgit2, libgit2sharp), or Git for VS is something separate? And, if I update Git to version 1.9.0 as available on http://git-scm.com, will it affect Visual Studio Git integration, in particular, will there be issues or will VS just use new version of Git?

Upvotes: 2

Views: 603

Answers (1)

VonC
VonC

Reputation: 1323963

The "Visual Studio Tools for Git" page does mention:

Your msysgit installed version shouldn't have any impact whatsoever on the Visual Studio Git tools; we rely on the libgit2 library, which isn't packaged with msysgit.

But if you want to be sure, instead of upgrading, you simply can unzip a more recent version of msysgit wherever you want, and add that to your %PATH%.
I use for instance PortableGit-1.9.4-preview20140929.7z.

Upvotes: 4

Related Questions