Is there a command to undo git flow init?

后端 未结 3 1183
有刺的猬
有刺的猬 2021-01-30 06:06

After git flow init, how to remove git flow model?
Even, I removed related config from .git/config file.



        
3条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-30 06:56

    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
    

提交回复
热议问题