I merged a branch in master a few days ago. I didn't make any changes in the branch, but when I tried to delete it today with git branch -d branch_name
it said the branch isn't fully merged in.
I got curious and did a gitg
and saw that there was a stash in the branch. So I thought may be that stash is causing that behavior. I deleted the stash. But still I get the same error.
Doing a git status doesn't show any changes.
I can delete the branch using git branch -D branch_name
.
- Why isn't
-d
working? - How can I see what is not merged in? (
gitg
doesn't show anything.)