zed/assets/keymaps
Smit Barmase 0de588c0c9
git_ui: Add force delete for unmerged branches (#55927)
Git's `-d` flag deletes a branch only if it's fully merged into its
upstream or HEAD - this is what we were using before, which caused the
"not fully merged" error. The `-D` flag force deletes a branch even with
unmerged changes (equivalent to `--delete --force`).

### Before

Deleting an unmerged branch failed with a "not fully merged" error
toast.

### After

- Deleting an unmerged branch prompts for confirmation to force delete
- Delete button tooltip shows "Hold alt to force delete" hint
- Holding **alt** turns the delete icon red and tooltip changes to
"Force Delete Branch"
- Force delete keybinding: `cmd-alt-shift-backspace`

Release Notes:

- Added confirmation prompt when deleting unmerged git branches, with
option to force delete.
- Added alt+click on delete button to force delete a branch immediately.
2026-05-06 20:08:42 +00:00
..
linux Remove text thread and slash command crates (#52757) 2026-03-31 17:55:05 +02:00
macos Remove text thread and slash command crates (#52757) 2026-03-31 17:55:05 +02:00
default-linux.json git_ui: Add force delete for unmerged branches (#55927) 2026-05-06 20:08:42 +00:00
default-macos.json git_ui: Add force delete for unmerged branches (#55927) 2026-05-06 20:08:42 +00:00
default-windows.json git_ui: Add force delete for unmerged branches (#55927) 2026-05-06 20:08:42 +00:00
initial.json Add trailing commas to all asset jsonc files following #43854 (#44891) 2025-12-15 15:09:52 +00:00
storybook.json Add trailing commas to all asset jsonc files following #43854 (#44891) 2025-12-15 15:09:52 +00:00
vim.json helix: Add keybinding for tab switcher toggle (#55868) 2026-05-06 15:32:26 +00:00