Currently it's impossible to delete a branch if it's selected.
I propose to provide such a possibility. When deletion of the selected branch is requested, the software should just do it and set HEAD to the tip of the default branch if it exists or not be on any branch at all.
This will simplify the procedure where I'd like to delete the branch I'm currently on (e.g. I've merged it in the remote and now I'd like to delete it's local copy)
Currently it's impossible to delete a branch if it's selected. I propose to provide such a possibility. When deletion of the selected branch is requested, the software should just do it and set HEAD to the tip of the default branch if it exists or not be on any branch at all.
This will simplify the procedure where I'd like to delete the branch I'm currently on (e.g. I've merged it in the remote and now I'd like to delete it's local copy)