0

When I installed Git 2 years ago, I used the Git-1.9.5-preview20141217.exe to install it. I can't tell if that was a 32 or 64 bit installer.

I do know the path where it is installed is C:\Program Files (x86)\Git\cmd\git.exe and C:\Program Files (x86)\Git\bin\git.exe.

I have read conflicting information that the 64 bit installers installed at that path also so it makes me even more confused. If this is a 32 bit installer,then I ask is there a way to upgrade it to 64 bit or am I stuck using the 32 bitversion?

There might not have been a 64 bit installer when I installed GIT orginally .

OutOFTouch
  • 1,017
  • 3
  • 13
  • 30
  • What? 64b things are installing themselves in a 32b directory? In 2014? What / where is that conflicting information? – PeeHaa Nov 16 '16 at 19:22

2 Answers2

0

Personally I would recommend uninstalling the current version and doing a clean install of whatever new version you're trying for.

jliles
  • 188
  • 1
  • 6
  • An explanation for the down vote would be appreciated. – jliles Nov 16 '16 at 19:29
  • 1
    Dumb question but when uninstalling git is history or anything lost? – OutOFTouch Nov 16 '16 at 19:52
  • 1
    To the best of my knowledge it is stored in your user profile folder and shouldn't be lost on uninstall, I haven't verified this though. – jliles Nov 16 '16 at 19:56
  • What about when installed on a server for the main repo's? Does it get installed under the user profile there of who ever installed it? – OutOFTouch Nov 16 '16 at 20:20
  • http://stackoverflow.com/questions/2114111/where-does-git-config-global-get-written-to This will probably answer better than I can. – jliles Nov 16 '16 at 20:28
0

All the latest Git for Windows releases are at github.com/git-for-windows/git/releases

You will find installer and archives for 32 and 64 bits.

I personnaly simply uncompress PortableGit-prerelease-2.11.0.rc1.windows.1-64-bit.7z.exe anywhere I want, and add that to my %PATH%.
You can have any number of Git versions that way.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Do mutiple versions installed side by side use the same database to see commit histories? – OutOFTouch Nov 16 '16 at 20:35
  • A git (any of your installed or uncompressed git) will only see the commit of the repo you are in, meaning the folder of the repo. Outside of that folder, a git has no knowledge of a database. – VonC Nov 16 '16 at 20:56
  • In other words, adding or removing or uninstalling some git has no effect on existing git repositories. – VonC Nov 16 '16 at 20:59
  • Thank you for the explanation. – OutOFTouch Nov 16 '16 at 21:06