Not able to push repo using Sourcetree 'cannot spawn: ...\TortoisePlink.exe'

M S May 27, 2014

Dear Community,

I want to push a repo to a gitlab repo.

Sourcetree (Windows 7) returns following error message:

error: cannot spawn C:\Program Files\TortoiseGit\bin\TortoisePlink.exe: No such file or directory

fatal: unable to fork

I don't have TortoiseGit installed and use OpenSSH as SSH-Client.

Do I have to install TortoiseGit next to Sourcetree?

Thanks in advance :)

Kind Regards,

Michael

3 answers

1 accepted

1 vote
Answer accepted
M S May 27, 2014

Oh yeah, there is a variable 'GIT_SSH' set.

This was the fix.

It should point to the normal git binary (e.g. C:\Program Files (x86)\Git\bin\git.exe) instead of TortoiseGit binary.

Thanks!

0 votes
M S May 27, 2014

Thanks for the fast reply!

I cloned this repo from another git instance and want push it to a bare gitlab repo.

Yes, I had TortoiseGit installed a few months ago.

May there some env variable set?

0 votes
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 27, 2014

Have you ever had TortoiseGit installed?

Did you copy this repository from another computer (instead of cloning from a remote)?

Even if you install TortoiseGit, you'll have problems: "Programm Files" should only have one "m".

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events