Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does TortoiseGit work with PortableGit-x.x.x.x-previewyyyyyy? What are compatible git versions for TortoiseGit?

Does Tortoisegit work with PortableGit-x.x.x.x-previewyyyyyy? If yes, how to arrange these?

like image 927
numa Avatar asked Nov 08 '11 08:11

numa


1 Answers

TortoiseGit (as of 2.13) requires a command-line git.exe.

It works with a variety of different "git.exe providers". Known to work are:

  • Git for Windows 2.24+ (https://gitforwindows.org/, based on MSYS2; portable and installer are known to work; recommended; for Git for Windows >= 2.16 you need at least TortoiseGit 2.5.7; older versions of Git are not supported any more)
  • GitHub for Windows (includes Git for Windows (one from the two above, current versions include Git for Windows 2.x based on MSYS2)
  • Git of the Cygwin distribution (requires to activate a special hack, see https://stackoverflow.com/a/32427358/3906760 and https://tortoisegit.org/docs/tortoisegit/tgit-dug-settings.html; please note that Cygwin Git is kinda broken as it doesn't pass the Git test suite on Windows)
  • Git of the MSYS2 distribution (requires to activate a special hack, see https://tortoisegit.org/docs/tortoisegit/tgit-dug-settings.html; do not enable this hack for the Git for Windows package!)

You can mix x86 and x64 versions of Git.exe and TortoiseGit. However, x64 TortoiseGit will only run on x64 Windows, same for the 32-bit/x86 version of TortoiseGit which will only run on x86 Windows.

TortoiseGit tries to find a Git for Windows installation or tries to find a git.exe on the PATH environment variable. If git.exe is not on your PATH, you can also set the path to git.exe manually in TortoiseGit settings dialog on the general page.

like image 72
MrTux Avatar answered Sep 29 '22 06:09

MrTux