Reputation: 407
This is novice question. Using git/SourceTree after I check out someone else's branch, how do I remove that branch from my SourceTree "branch" list when I no longer want it there? I thought I simply delete the branch while not using the "also delete remote branch" option, however, SourceTree complains the branch is not fully merged.
Upvotes: 0
Views: 1958
Reputation: 1703
In SourceTree:
Delete [branch-name]
Force delete
checkbox and click OK
This will delete the branch despite the warning you are getting that the branch is not fully merged.
By doing this you will lose any commits/changes on that branch that have not been merged into another branch (eg: master
)
Upvotes: 1