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

atian25 picture atian25 · Aug 2, 2012 · Viewed 31.1k times · Source

I'm inexperienced with git-flow.

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

Answer

Greg Haskins picture Greg Haskins · Aug 2, 2012

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