Fatal: Not a gitflow-enabled repo yet. Please run 'git flow init' first.
·
用sourcetTree准备创建一个feature时出现以下错误:
Fatal: Not a gitflow-enabled repo yet. Please run ‘git flow init’ first.
(可能是我删除了develop分支的原因)
解决办法如:
- 找到当前工程目录下.git\config文件

- 移除所有[gitflow 开头的内容
- 重启SourceTree
- 在SourceTree主菜单重新初始化Git Flow:Repository > Git Flow > Initialise Repository
更多推荐


所有评论(0)