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

Method Commit

pkg/integration/components/shell.go:169–171  ·  view source on GitHub ↗
(message string)

Source from the content-addressed store, hash-verified

167}
168
169func (self *Shell) Commit(message string) *Shell {
170 return self.RunCommand([]string{"git", "commit", "-m", message})
171}
172
173func (self *Shell) CommitInWorktreeOrSubmodule(worktreePath string, message string) *Shell {
174 return self.RunCommand([]string{"git", "-C", worktreePath, "commit", "-m", message})

Calls 1

RunCommandMethod · 0.95

Tested by

no test coverage detected