I'm using TortoiseGit with msysGit installed with the msysGit-fullinstall-1.6.4-preview20090729.exe
and it works in a very strange way:
About
windows it says it can't find git, even if all the operations seems to complete okSettings
window, General
tab, MSysGit
section, the version is blank even with the correct path set (....\msysGit\bin)Settings
window, Git\Config
tab, any attempt to alter and save the settings lead to some stange text-less error, and the only way to close the window is by `Cancel' buttonThe first three points are not present if I install msysGit with the Git-1.6.4-preview20090730.exe
, even if the path is set the same in both cases (....\msysGit\cmd)
What can I do to make TortoiseGit recognise git installation from the msysGit-fullinstall-1.6.4-preview20090729.exe
?
Environment:
EDIT:
I don't want to put msysGit\bin
in path, just msysGit\cmd
.
If I simply replace the files from msysGit-fullinstall-1.6.4-preview20090729.exe
with the files from an Git-1.6.4-preview20090730.exe
installation, then TortoiseGit seems to recognize the git version and allows me to edit the Git\Config section in the settings. This is at least strange, given that the rest of the environment is not modified at all.
As soon as I restore the msysGit-fullinstall-1.6.4-preview20090729.exe
files, TortoiseGit cease to function properly.
One prerequisite of TortoiseGit is that it requires an already installed (command line) Git client which provides a git.exe . Git for Windows is recommended (Cygwin and MSYS2 Git also work, see the section called “General Settings” for configuration.
Right-Click in the File explorer within the repository and select TortoiseGit =>Create Branch. Name it enhancement and select the checkbox Switch to the new branch. Click Ok. Make a change to the file in the enhancement branch and commit the same.
The TortoiseGit Git.exe Path setting currently points to C:\Program Files\Git\cmd . There is a known issue in msysGit/Git for Windows: Git for Windows provides two git.exe-files (one in a folder named bin and one in a folder named cmd).
Use the TortoiseGit Puttykey generator to create a new keypair add your public key to GitHub. Clone/create a new repository. In thee Tortoise repository settings, set your fullname and email. Then in remote menu under the Git configuration menu enter your clone URL and select your PuTTY key.
I've had nothing but problems with TortoiseGit.
However, discovering the following enabled me to give up sooner:
In your Path (in Control Panel->System->Advanced Settings->Environment Settings), add a path that contains git.exe (msysgit\bin or msysgit\git? TortoiseGit's instructions sure the hell don't tell me, so how should I know). Then open a command prompt and try running git.exe. It'll probably complain that it can't find libcurl-4.dll. So, you'll find that this dll file exists in msysgit\mingw\bin. Add this directory to your Path (or copy the dll if you prefer).
Now, the setup in TortoiseGit will finally appear to work. Clicking the "Check Now" button will actually tell you the version of git you're using instead of mysteriously going blank or popping up a useless error window.
When you try using TortoiseGit now, you'll get a blank progress bar that does nothing and you can't close it. Congratulations! Now you can give up and delete this garbage until someone cares enough to prepare it for human consumption. (can you tell I'm fed up with this software?)
While this question is still hot... some nice people contributed lots of bugfixes to all three projects, so this is what I did to get TortoiseGit on Win7x64, previously failing on all combinations:
This setup picked up my existing git repos made on WinXP x86 with older versions of the packages, and seems fairly stable and fully functional.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With