Skip to content

deleting a "not fully merged" branch removes working directory but not branch #6

@nnutter

Description

@nnutter
$ git bd -d AR-154
Are you sure you want to delete '/gscuser/nnutter/ur/AR-154'? (y|n) y
warning: not deleting branch 'AR-154' that is not yet merged to
         'refs/remotes/origin/master', even though it is merged to HEAD.
error: The branch 'AR-154' is not fully merged.
If you are sure you want to delete it, run 'git branch -D AR-154'.
linus264:~/ur/master (git:master)
! git bd -D AR-154
git-bd: workdir not found: /gscuser/nnutter/ur/AR-154

Do you just need to delete the branch?
linus264:~/ur/master (git:master)
! git branch -d AR-154
warning: not deleting branch 'AR-154' that is not yet merged to
         'refs/remotes/origin/master', even though it is merged to HEAD.
error: The branch 'AR-154' is not fully merged.
If you are sure you want to delete it, run 'git branch -D AR-154'.
linus264:~/ur/master (git:master)
! git branch -D AR-154
Deleted branch AR-154 (was a7648c3).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions