0

I'm trying to create a feature branch with the name "ft-setting-environment" and have already set up up the feature branch name prefixes as "ft-" during git flow initialization.

I'm using the command:

git flow feature start setting-enviroment

But I get this error:

fatal: '?[D?[D?[D?[D?[D?[D?[Ct-?[C?[C?[C?[?[?[C?[C?[C]setting-environment' is not a valid branch name.

theduck
  • 2,526
  • 13
  • 15
  • 22
Tundeh
  • 1
  • 4

1 Answers1

0

Open your .gitconfig (Where does git config --global get written to?)

Find [gitflow "prefix"] section

Fix the feature entry

feature = feature/

You could also use git flow config set.


If all fails, create the branch with git checkout -b ft-setting-enviroment

tymtam
  • 20,472
  • 3
  • 58
  • 92