Question

On my Windows 8.1 PCs I have VS 2013, which has its own Git stuff baked into it. Per the "suggestion" made by the VS IDE, I installed the Git command line tools (the full Git package). This got me version 1.8.3.msysgit.0. Then I installed GitHub for Windows, which installs its own "local" version of Git (on my PC it's version 1.8.4.msysgit.0).

So now I effectively have 3 different versions of Git on my PC:

  • The equivalent version baked into VS 2013 (if I ask it to perform Git operations for me)
  • The 1.8.3 version I manually installed, with nifty Whindows shell integration so I can click on a file or folder in a repo and bring up git gui or git bash for that repo.
  • The 1.8.4 version baked into GitHub for Windows

And, I would assume that these Git versions will change over time as I install updates to these tools.

My question is: As I use these three different tools to fiddle with my repo, am I at risk of them not agreeing on the repo internal structure?

I just can't wrap my brain around the fact that my Windows box doesn't have a unique, single installation of Git that all three tools use. Rather, each tool has its own concept of the Git version, but I'm using all three tools on the same repository.

Was it helpful?

Solution

As I use these three different tools to fiddle with my repo, am I at risk of them not agreeing on the repo internal structure?

No. The main internal structure (pack format) won't change so much it would become incompatible with older git 1.8 versions.

And you can have as many different version of Git on your computer: they are portable archives, that you can unzip anywhere.

The only limitation is in term of feature (like for instance, pushing to shallow repo, which is only possible since git 1.9.0)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top