Robert
Robert

Reputation: 336

Why Sourcetree does not support the use of '/' in Git-flow branch names?

When I try to create a new feature I press Git-flow -> Start New Feature and if I chose a branch name like this: model/user in the end the complete branch name should be feature/model/user but instead I get an error:

The name is invalid. Ref names must follow git ref-format rules: 
https://www.kernel.org/pub/software/scm/git/docs/git-check-ref-format.html
Additionally Sourcetree does not support the use of '/' in Git-flow branch names
Completed with errors, see above.

Before this update branch names could contain '/' and were displayed as an arborescent structure.

If I use git flow commands it works and new branch appears in SourceTree.

Is this a bug or it's a normal behaviour?

Upvotes: 3

Views: 2219

Answers (1)

xry
xry

Reputation: 707

I believe, updating to the latest Git flow version should solve your problem. I had similar issues when using an older version recently - updating Git flow made the problem disappear.

Upvotes: 1

Related Questions