我已经运行了git init
,但在选择第一个分支时犯了一个错误。现在我想重新运行它以更改设置,但它从未再次询问第一个问题。
Which branch should be used for bringing forth production releases?
- develop
Branch name for production releases: [] develop
Which branch should be used for integration of the "next release"?
Branch name for "next release" development: [develop] ^C
Lymnaea:boxes (develop) $ git flow init
Which branch should be used for integration of the "next release"?
Branch name for "next release" development: [develop]
Production and integration branches should differ.
我如何撤消第一次的初始化运行,以便我可以将分支设置为主分支(master)?
.git/config
,在[gitflow "prefix"]
部分下找到这些定义。 - Hugo Ferreira