Cannot pull or push ("cannot spawn"/"unable to fork") Edited

This has just started happening, whenever I use the terminal and try to run commands such as git pull origin master I will recieve an output similar to

error: cannot spawn C:\Users\Test\AppData\Local\SourceTree\app-\tools\putty: No such file or directory
fatal: unable to fork

Thank you.

1 answer

0 votes

Hi Adam! This error doesn't seem to be related to SourceTree itself.

Are you using SSH? It's possible that your GIT_SSH environmental variable is pointing to and if that path has a space in it. It could also be that you need to update the SSH Client path in Settings >Network.

I've also done some research on the message you're getting and I found someone else who was experiencing it, you can read how they solved it at Error cannot spawn.

Hope this helps!


Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Agile

Managing Projects in Several Jiras at the Same Time

Have you ever noticed that fixing specific problems might be a door opener for a bigger challenge, affecting a wider audience? This was exactly the case when we, as a service company working with mul...

89 views 1 12
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