Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nnutter opened this issue Sep 10, 2013 · 1 comment

Comments

@nnutter
Copy link
Owner

nnutter commented Sep 10, 2013

$ 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).
@nnutter
Copy link
Owner Author

nnutter commented Nov 5, 2014

#11 kind of addresses this in that it makes it possible to run git bd -d again to try and cleanup remaining mess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant