67

我对 git-flow 没有经验。

有撤消命令git-flow feature start吗?

4

3 回答 3

99

由于 git-flow 只是包装了常规的 git 功能,那么简单地删除新分支怎么样(假设您没有要保存的更改)?

$ git checkout master
Switched to branch 'master'
$ git branch -d feature/your-feature-name-here
于 2012-08-02T13:30:49.497 回答
57

或者只使用 git-flow:

git flow feature delete your-feature-branch

请注意,feature/使用此命令时省略前缀

于 2012-09-18T15:54:26.310 回答
-3
git hf feature cancel -f

使用git hf helpgit hf feature help查看可能性。

于 2013-11-05T14:43:36.280 回答