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

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

This widget could not be displayed.

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!

This widget could not be displayed.

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".

This widget could not be displayed.

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?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

874 views 2 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you