lets add automatic delete of the branch when the remote flag is set under the release
diff --git a/git-flow-release b/git-flow-release
index 6570b90..e71c87b 100644
--- a/git-flow-release
+++ b/git-flow-release
@@ -264,6 +264,8 @@
die "Could not push to $MASTER_BRANCH from $ORIGIN."
git push --tags "$ORIGIN" || \
die "Could not push tags to $ORIGIN."
+ git push "$ORIGIN" :"$BRANCH" || \
+ die "Could not delete the remote $BRANCH in $ORIGIN."
fi
echo
@@ -275,6 +277,7 @@
echo "- Release branch '$BRANCH' has been deleted"
if flag push; then
echo "- '$DEVELOP_BRANCH', '$MASTER_BRANCH' and tags have been pushed to '$ORIGIN'"
+ echo "- Release branch '$BRANCH' in '$ORIGIN' has been deleted."
fi
echo
}