1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

support deleting remote branches

This commit is contained in:
Jesse Duffield
2019-11-17 13:47:47 +11:00
parent f0cd730fbb
commit a9cd647075
5 changed files with 53 additions and 2 deletions

View File

@ -1073,6 +1073,14 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Handler: gui.handleMergeRemoteBranch,
Description: gui.Tr.SLocalize("mergeIntoCurrentBranch"),
},
{
ViewName: "branches",
Contexts: []string{"remote-branches"},
Key: 'd',
Modifier: gocui.ModNone,
Handler: gui.handleDeleteRemoteBranch,
Description: gui.Tr.SLocalize("deleteBranch"),
},
{
ViewName: "commits",
Key: gocui.MouseLeft,