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

Method SetAuthor

pkg/integration/components/shell.go:520–525  ·  view source on GitHub ↗
(authorName string, authorEmail string)

Source from the content-addressed store, hash-verified

518}
519
520func (self *Shell) SetAuthor(authorName string, authorEmail string) *Shell {
521 self.RunCommand([]string{"git", "config", "--local", "user.name", authorName})
522 self.RunCommand([]string{"git", "config", "--local", "user.email", authorEmail})
523
524 return self
525}

Callers 5

CreateRepoHistoryMethod · 0.95
rebase_onto.goFile · 0.45
commonSetupFunction · 0.45

Calls 1

RunCommandMethod · 0.95

Tested by

no test coverage detected