Is there a command to undo git-flow feature start?
Pergunta
I'm inexperienced with git-flow.
Is there a command to undo git-flow feature start
?
Solução
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
Outras dicas
Or just use git-flow:
git flow feature delete your-feature-branch
Note that the feature/
prefix is omitted when using this command
git hf feature cancel -f
Use git hf help
and git hf feature help
to see the possibilities.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow