aposin / gem

ARCHIVED: Git Environment Manager (GEM)
Apache License 2.0
1 stars 2 forks source link

[#24] Improve 'Remove Branch' button workflow #27

Closed d-gs closed 3 years ago

d-gs commented 3 years ago

Type of request

Related Issue(s)

Closes #24

Concept

Description of the change

Description of current state

Currently the remove branch launcher is disabled if we are already on the feature branch. This means that before deleting a branch, you should manually checkout a different branch and then do the deletion.

Description of target state

On the command to delete the branch, the checkout happens if it is already checked out. Of course, it should still fail if the worktree is not clean.

Checklist:

d-gs commented 3 years ago

@davu-all - back to you with the requested changes!