简体   繁体   中英

VisualStudio 2015 git extension or git for windows?

Do I lose something if I prefer the official git for windows installation instead of the Visual Studio 2015 extension?

在此处输入图片说明

The Visual Studio extension seems to use a different/older git version.

I wonder if I lose some kind of integration with Visual Studio by installing git for windows.

Do I really need the Visual Studio 3rd party git command prompt tools or can I use git for windows?

You can use Git for Windows.

In fact, that prompt is prompting you to install Git for Windows, however older versions of Visual Studio are only able to detect an installation of Git for Windows 1.9, not a newer version (like Git for Windows 2.x), as Git for Windows writes to different locations.

Newer versions of Visual Studio (beginning with Visual Studio 2015 Update 1) will both install Git for Windows 2.x and will be able to detect your own installation of Git for Windows 2.x. This means that if you install Git for Windows yourself it will not bother you to install it yourself.

The Git team at Microsoft is very active, so it's always a good idea to update to the latest update.

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