Is there a command to undo git flow init?

git-flow

Solution

You can do what @Peter said from the command line too!

Those commands remove all the sections of the git config file related to gitflow.

git config --remove-section "gitflow.path"
git config --remove-section "gitflow.prefix"
git config --remove-section "gitflow.branch"

Then you can re-init gitflow as usual.

git flow init

Problem

After `git flow init`, how to remove the git flow model? How do I remove all related config from the `.git/config` file? ``` $ git flow init ``` ``` # force reset $ git flow init -f ``` How to remove below content from the `.git/config` file? ``` [gitflow "branch"] master = master develop = develop [gitflow "prefix"] feature = feature/ release = release/ hotfix = hotfix/ support = support/ versiontag = ```

Original source

Related problems