Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Cannot clone repo from SourceTree, but gitBash works.

Nikita
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 8, 2019

I tried to clone SSH repo and got this failed message:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks -c credential.helper= -c credential.helper="C:/Users/Fotal/AppData/Local/ATLASS~1/SOURCE~1/GIT_EX~1/GIT-CR~1.EXE" fetch origin

error: cannot spawn sh: No such file or directory
fatal: unable to fork

Then, when I clone the repo using gitBash and try to push / fetch / clone... then this error repeats.

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 15, 2019

Hi Nikita, welcome to the Community!

From your message it's not clear to me if these operations work on Gitbash or not. To help us investigate this issue for you, and if you're still experiencing this issue, could you answer the following?: 

  1. Are you getting this error when using Gitbash instead of Sourcetree?
  2. Which Sourcetree version are you using?
  3. For troubleshooting purposes, can you check if it works when using HTTPS
  4. Have you checked the logs?

Let us know if you need any further help.

Best regards,

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events