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

Method GitAdd

pkg/integration/components/shell.go:161–163  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

159}
160
161func (self *Shell) GitAdd(path string) *Shell {
162 return self.RunCommand([]string{"git", "add", path})
163}
164
165func (self *Shell) GitAddAll() *Shell {
166 return self.RunCommand([]string{"git", "add", "-A"})

Callers 8

CreateFileAndAddMethod · 0.80
UpdateFileAndAddMethod · 0.80
DeleteFileAndAddMethod · 0.80
copy_menu.goFile · 0.80

Calls 1

RunCommandMethod · 0.95

Tested by

no test coverage detected