是否有撤消git flow init的命令? [英] Is there a command to undo git flow init?
本文介绍了是否有撤消git flow init的命令?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在git flow init
之后,如何删除git flow
模型?
甚至,我从.git/config
文件中删除了相关的配置.
After git flow init
, how to remove git flow
model?
Even, I removed related config from .git/config
file.
$ git flow init
# force reset
$ git flow init -f
已经从.git/config文件中删除以下内容.
Already remove below content from .git/config file.
[gitflow "branch"]
master = master
develop = develop
[gitflow "prefix"]
feature = feature/
release = release/
hotfix = hotfix/
support = support/
versiontag =
谢谢.
推荐答案
您也可以在命令行上执行@Peter所说的!
You can do what @Peter said from the command line too!
这些命令会删除git config文件中与gitflow相关的所有部分.
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"
然后您可以照常重新初始化gitflow.
Then you can re-init gitflow as usual.
git flow init
这篇关于是否有撤消git flow init的命令?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文