Sourcetree error : 'git status' failed with code -1:'Couldn't posix_spawn: error 35 '

Started getting following error in Sourcetree suddenly (after a merge conflict)

'git status' failed with code -1:'Couldn't posix_spawn: error 35


I am not sure as how to resolve this

5 answers

I am also getting this error.

SourceTree Version 2.1 (2.1)

Mac OS X El Capitan

Version 10.11.1

Mine had nothing to do with a merge conflict. It feels out of the blue.

I also just started getting this. Went for a way for about 20 mins, then happened in all my local repos. The commit history screen for each repo was filled with empty commit lines.

SourceTree Version (

Mac OS X El Capitan 10.11.2

I am using SourceTree version on Windows 10 and get the same error. need help with the fix.

Have same issue. Not only SourceTree affected, many apps like photoshop, google chrome, Xcode and others may fire such error on attempt to launch. 

Mac OS Sierra 10.12.1 (16B2659)

You ram might be eaten by chrome or other applications and there are no resources left for sourcetree. Clean up running applications. It might work. It did for me.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

794 views 0 4
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