Git Flow initialization fails with no "master" branch

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Low
    • None
    • Affects Version/s: 0.9.4
    • Component/s: Git

      In a repository with no "master" branch, trying to initialize git flow fails with this unhelpful error:

      Using default branch names.
      Which branch should be used for bringing forth production releases?
         - develop
      Branch name for production releases: [] 
      Local branch '' does not exist.
      Completed with errors, see above.
      

      In Bitbucket, I've set "main branch" in our repositories to be "develop", so when we clone we get a local develop branch but no master branch. So, initializing Git Flow fails unless we manually create a master branch first.

        1. gitflow-init-error.jpg
          70 kB
          jennings
        2. gitflow-init-initialbranch.jpg
          75 kB
          jennings
        3. gitflow-init-settings.jpg
          77 kB
          jennings

            Assignee:
            Steve Streeting (Inactive)
            Reporter:
            jennings
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: