Failed initializing git-flow if change [develop] branch name

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 4.0
    • Component/s: GitFlow
    • None
    • Severity 2 - Major

      Description

      I tried to initializing git-flow many times, at last, I have to initialize git-flow use another tool.

      The bug is that if there wasn't a local branch named "develop", I will get an error and could not initialize git-flow. 

      I think the best behavior is that if I don't have a [develop] branch, git-flow will automatically create it and I can use other names for the [develop] branch, like "dev".

      I like SourceTree, hope it will fix soon.

      Error message

      git init -d 
      Using default branch names.
      Fatal: Local branch 'develop' does not exist.
      
      Which branch should be used for integration of the "next release"?
         - dev
      Branch name for "next release" development: [develop] 
      Completed with errors, see above
      

      Version

      SourceTree Version: 4.0.1(234)

      use embedded git (2.23.0) and embedded git-flow
       

       

       

       

            Assignee:
            Unassigned
            Reporter:
            Sen Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: