I've added the option to delete the remote branch if the user created it.
If you want you can pull.
adding the delete of remote branch
adding a check if the branch exists in remote if so delete it
fixing the variable name
adding a delete option on the remote if the branch exists on remote
I find this patch very useful! I was about to create an issue about this :) And here it is ready :) We always stay with unused feature branches on the origin and have to remove them manually.
Thanks for your contribution @shukydvir and @boryn. It seems that the original repo by nvie is no longer maintained. However, the ITM Gitflow fork provides this possibility. Maybe you feel more comfortable with this fork. Looking forward to your response.