MCPcopy Index your code
hub / github.com/jesseduffield/lazygit / Checkout

Method Checkout

pkg/integration/components/shell.go:149–151  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

147}
148
149func (self *Shell) Checkout(name string) *Shell {
150 return self.RunCommand([]string{"git", "checkout", name})
151}
152
153func (self *Shell) Merge(name string) *Shell {
154 return self.RunCommand([]string{"git", "merge", "--commit", "--no-ff", name})

Calls 1

RunCommandMethod · 0.95

Tested by

no test coverage detected