Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Setup Git Flow on an empty repository

Hi there

I tried to setup Git Flow on an empty repository and got an error message. The suggestion to create a new branch '{0}' also throws an error.

I think this is something you changed in an update, because before it worked perfectly.

I read somewhere, that this has been changed to prevent some errors.

I prefer to setup Git Flow on an empty repository and start working on the develop branch, because I don't want to commit to the master branch, before the project is ready for production.

The way it is now, I have to commit to the master branch, then setup Git Flow, which creates the develop branch based on the master and then work on the develop branch. So I have a master branch with an unstable/unfinished project.

I never had any issues with setting up Git Flow on an empty repo before. So is there a way to get this behavior back?


1 answer

1 accepted

0 votes
Answer accepted

I think this is your answer. I setup an empty repository yesterday. I could not 'activate' gitflow with either SmartGit or SourceTree. I created a README file in the master, committed, then the gitflow initialization worked.

heck, all you really have to do is create a .gitignore and then commit it if you don't want a README file. (or create both). The README file is useful as it comes out on Bitbucket's overview page.

I suspect this is what you have to do.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in DevOps

Step up your DevOps game webinar Q&A series - Questions answered!

  On October 21st, 2020 we hosted a webinar titled,   Step Up You DevOps Game with 4 Key Integrations for Jira and Bitbucket. We had a great showing and high engagement, but that meant th...

101 views 0 1
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