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

Initializing git-flow with different name for productive branch fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • None
    • 2.7.6
    • Git
    • OS: macOS High Sierra 10.13.4 (17E199)

      Nothing installed, it's a fresh MacBook Pro, just installed Xcode and SourceTree.

    • Severity 2 - Major

      We are using different git-flow naming, so when checking out a new projet I always checkout both the "stable" branch (our develop) and the "productive" branch (our master), which I did this time, too. But since 2.7.6 it's failing (might be a little earlier, but not too much earlier, since it worked about a month ago).

      Now when trying to initialize git-flow, I get the following error:

       

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

       

      As you can see, it tries to use the default branch names, although I specified different ones like so:

        1. 1z0-1001-Exam-Questions.pdf
          274 kB
        2. 1z0-1002-Exam-Questions.pdf
          238 kB
        3. 1z0-1005-Exam-Questions.pdf
          245 kB
        4. 1z0-1007-Exam-Questions.pdf
          242 kB
        5. 1z0-1009-Exam-Questions.pdf
          245 kB
        6. 210-060-Exam-Questions.pdf
          371 kB
        7. 500-325-Exam-Questions.pdf
          232 kB
        8. 7120x-Exam-Questions.pdf
          340 kB

              43c951f935c6 Raman Sidarakin (Inactive)
              dafb672b6911 Cihat Gündüz
              Votes:
              9 Vote for this issue
              Watchers:
              21 Start watching this issue

                Created:
                Updated:
                Resolved: