Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-1696

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 1.6.3.1
    • 1.6.2.2
    • Git
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: