mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
allow creating branches off of remote branches
This commit is contained in:
@ -1287,6 +1287,14 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
|
||||
Handler: gui.handleCheckoutRemoteBranch,
|
||||
Description: gui.Tr.SLocalize("checkout"),
|
||||
},
|
||||
{
|
||||
ViewName: "branches",
|
||||
Contexts: []string{"remote-branches"},
|
||||
Key: gui.getKey("universal.new"),
|
||||
Handler: gui.handleNewBranchOffRemote,
|
||||
Description: gui.Tr.SLocalize("newBranch"),
|
||||
},
|
||||
|
||||
{
|
||||
ViewName: "branches",
|
||||
Contexts: []string{"remote-branches"},
|
||||
|
Reference in New Issue
Block a user