SourceTree can not create "Git Flow" Workflow

Hi folks,

I have a problem with SourceTree. I have installed the latest Version and clone my private repository from bitbucket. This works fine but if I want to create the "Git Flow" Workflow I get following error:

git init -d 
/Applications/ line 41: uname: command not found
/Applications/ line 41: egrep: command not found
/Applications/ line 50: sed: command not found
/Applications/ line 50: dirname: command not found
/Applications/ line 73: /gitflow-common: No such file or directory
Completed with errors, see above

All of the listed commands are usable over terminal as they should. But how can I fix this issue =/?



2 answers

1 accepted

Have you manually modified any environment variables, or used Homebrew? If so, the problem is not with SourceTree. You might try this solution from stack overflow, but be cautious modifying environment variables like $PATH - you can mess other software up.

Thanks for your response Seth, but my $PATH looks pretty normal:


No Homebrew installed

I finally found the issue.

And indeed it was $PATH, but it is not so obvious: I had stuff in my launchd.conf which caused the error.... removed that stuff and restarted the system :) thanks for your help!

You should mark this as a correct answer also.

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

649 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