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

0 votes
Accepted answer

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
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

978 views 4 2
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