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?
Thanks
Steve
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.