MCPcopy
hub / github.com/jesseduffield/lazygit / Init

Method Init

pkg/integration/components/shell.go:422–425  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

420}
421
422func (self *Shell) Init() *Shell {
423 self.RunCommand([]string{"git", "-c", "init.defaultBranch=master", "init"})
424 return self
425}
426
427func (self *Shell) AddWorktree(base string, path string, newBranchName string) *Shell {
428 return self.RunCommand([]string{

Callers 6

createFixtureFunction · 0.95
setupNestedSubmodulesFunction · 0.45
initMethod · 0.45
tcellInitMethod · 0.45
tcellInitSimulationMethod · 0.45

Calls 1

RunCommandMethod · 0.95

Tested by

no test coverage detected