Is there a command to undo git-flow feature start?

GitGit Flow

Git Problem Overview


I'm inexperienced with git-flow.

Is there a command to undo git-flow feature start?

Git Solutions


Solution 1 - Git

Since git-flow just wraps regular git functionality, how about simply deleting the new branch (assuming you have no changes in there you want saved)?

$ git checkout master
Switched to branch 'master'
$ git branch -d feature/your-feature-name-here

Solution 2 - Git

Or just use git-flow:

git flow feature delete your-feature-branch

Note that the feature/ prefix is omitted when using this command

Solution 3 - Git

git hf feature cancel -f

Use git hf help and git hf feature help to see the possibilities.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionatian25View Question on Stackoverflow
Solution 1 - GitGreg HaskinsView Answer on Stackoverflow
Solution 2 - GitPeter van der DoesView Answer on Stackoverflow
Solution 3 - GitNowakerView Answer on Stackoverflow