1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

support setting upstream

This commit is contained in:
Jesse Duffield
2019-11-17 14:50:12 +11:00
parent b42202ea1c
commit 07cbae4019
6 changed files with 55 additions and 5 deletions

View File

@ -1089,6 +1089,14 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Handler: gui.handleRebaseOntoRemoteBranch,
Description: gui.Tr.SLocalize("rebaseBranch"),
},
{
ViewName: "branches",
Contexts: []string{"remote-branches"},
Key: 'u',
Modifier: gocui.ModNone,
Handler: gui.handleSetBranchUpstream,
Description: gui.Tr.SLocalize("setUpstream"),
},
{
ViewName: "commits",
Key: gocui.MouseLeft,