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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 4.0
    • GitFlow
    • None
    • Severity 2 - Major

    Description

      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
       

       

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              171b2f5df7cd Sen Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: