git flow fails to initialize with non-default production and development branches

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 1.6.3.1
    • Affects Version/s: 1.6.2.2
    • Component/s: Git
    • None

      1. Open a repository that has a master branch
      2. Initialise repository for git flow
      3. For Production branch change "master" to "production"
      4. For Development branch change "develop" to "master"
      5. Click OK
      6. From Repository menu select "Start New Release" under "Git flow / Hg flow"
      7. Enter a release and click OK
        EXPECT: Release branch created
        ACTUAL: error
        git release start v1
        fatal: Not a gitflow-enabled repo yet. Please run "git flow init" first.
        Completed with errors, see above
        

      NOTE: the configuration file does not look right:

      [gitflow "branch"]
      	master = master
      	develop = master
      

      But the same error occurs after changing this to:

      [gitflow "branch"]
      	master = production
      	develop = master
      

      Initialising git flow with the defaults does work.

            Assignee:
            Unassigned
            Reporter:
            Malik Mangier (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: