gpt4 book ai didi

git-flow - 如何恢复 git flow init 中的错误?

转载 作者:行者123 更新时间:2023-12-01 16:39:46 31 4
gpt4 key购买 nike

我运行了 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.

如何撤消第一次 init 运行,以便将分支设置为 master?

最佳答案

最后我在this question中找到了答案。它并不完全重复,所以我将把它留在这里供下一个找不到正确关键字的人使用。

git flow init -f # will force re-initialization

如果你想手动执行,可以使用git config -e

关于git-flow - 如何恢复 git flow init 中的错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30273320/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com