After git flow init
、如何去掉git flow模型?
如何从中删除所有相关配置.git/config
file?
$ git flow init
# force reset
$ git flow init -f
如何从以下内容中删除.git/config
file?
[gitflow "branch"]
master = master
develop = develop
[gitflow "prefix"]
feature = feature/
release = release/
hotfix = hotfix/
support = support/
versiontag =
您也可以从命令行执行 @Peter 所说的操作!
这些命令删除 git 配置文件中与 gitflow 相关的所有部分。
git config --remove-section "gitflow.path"
git config --remove-section "gitflow.prefix"
git config --remove-section "gitflow.branch"
然后你可以像往常一样重新初始化 gitflow。
git flow init
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)