mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-29 22:48:24 +02:00
cleaning up
This commit is contained in:
@@ -109,3 +109,12 @@ func (gui *Gui) handleCreateResetToRemoteBranchMenu() error {
|
||||
|
||||
return gui.helpers.refs.CreateGitResetMenu(selectedBranch.FullName())
|
||||
}
|
||||
|
||||
func (gui *Gui) handleEnterRemoteBranch() error {
|
||||
selectedBranch := gui.getSelectedRemoteBranch()
|
||||
if selectedBranch == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
return gui.switchToSubCommitsContext(selectedBranch.RefName())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user