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,589
  • 13
  • 17
  • 23
Tundeh
  • 11
  • 5

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
  • 31,798
  • 8
  • 86
  • 126