Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Personalize Git Flow init


When I try to initialise git flow on existant repository from Sourcetree, I can personalise branch names, but these names aren't seem not used by internal init command.

I've got this error (for example, we develop with branch « dev ») :

git init -d 

Using default branch names.

Fatal: Local branch 'develop' does not exist.


Which branch should be used for bringing forth production releases?

   - dev

   - master

Branch name for production releases: [master] 


Which branch should be used for integration of the "next release"?

   - dev

Branch name for "next release" development: [develop] 

Completed with errors, see above


I've try to init git flow from terminal, but I don't have « git-flow » commands or access to « flow » command with git :

Gl0ubI:~$ git-flow
-bash: git-flow: command not found
Gl0ubI:~$ git flow
git: 'flow' is not a git command. See 'git --help'.

Any idea ?


MacOs 10.12.6

Sourcetree 2.7.6 (git embedded 2.17.1 / git-flow embedded)

1 answer

0 votes
bgannin Atlassian Team Nov 19, 2018


We're looking into reproducing this and will include a fix in a future update. Thank you for the report.

Brian Ganninger
Senior Mac Developer, Sourcetree

"will include a fix in a future update" 
In version 3.2 (224) this has not yet been fixed. 🤔

Version 4.0.1 (234) and still not fixed.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 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...

7,154 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you