You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 20, 2022. It is now read-only.
Expected Behavior - What were you expecting to happen?
Remove Branch button should be enabled for existing branches (not default ones), without checkout to another branch beforehand.
Current Behavior - What happens?
The deletion of branches in the UI currently requires:
Have a clean worktree (to allow checkout)
Checkout a different branch
Select (without checkout) branch to delete
Use the Remove Branch button (inactive until now)
Possible Solution
Remove Branch button should checkout the default branch if it is the current branch. This requires a decision of what to do with "dirty" worktrees, so a popup to the user should be shown ask if everything should be deleted or if they want to abort the deletion.