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 vote

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 Join to answer
Community showcase
Louis De Jaeger
Posted yesterday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

153 views 12 3
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot