Skip to content

Instantly share code, notes, and snippets.

@dolt131943
Created November 27, 2018 11:44
Show Gist options
  • Save dolt131943/54b6c235db83116f041f8ffceaa7e0f6 to your computer and use it in GitHub Desktop.
Save dolt131943/54b6c235db83116f041f8ffceaa7e0f6 to your computer and use it in GitHub Desktop.
git flow always show error : git flow fatal: Not a gitflow-enabled repo yet. Please run "git flow init" first.
1. use git flow init in a exists repo (already has many branches).
2. this command done with a message: "Production and integration branches should differ."
3. try use "git flow init -d" , "git flow init -f ", or poen .git/config to delete all prefix with "git flow",and retry "git flow init", .problem not resolve.
finally,I manual create develop branch(master already exists), and then "git flow init -f -d", then problem resolved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment