Skip to content

Commit e761e35

Browse files
committed
Force deletion of the feature branch after finish.
This fix also works when feature branches are created manually, based on remote (i.e. other developers) feature branches, to work on features together. `git branch -d` won't remove local feature branches that are set up to track remote branches, `-D` will. Fixes ticket #31.
1 parent 06a5de7 commit e761e35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

git-flow-feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ helper_finish_cleanup() {
320320
if flag fetch; then
321321
git push "$ORIGIN" ":refs/heads/$BRANCH"
322322
fi
323-
git branch -d "$BRANCH"
323+
git branch -D "$BRANCH"
324324

325325
echo
326326
echo "Summary of actions:"

0 commit comments

Comments
 (0)