(submoduleName string, submodulePath string)
| 368 | } |
| 369 | |
| 370 | func (self *Shell) CloneIntoSubmodule(submoduleName string, submodulePath string) *Shell { |
| 371 | self.Clone(submoduleName) |
| 372 | self.RunCommand([]string{"git", "submodule", "add", "--name", submoduleName, "../" + submoduleName, submodulePath}) |
| 373 | |
| 374 | return self |
| 375 | } |
| 376 | |
| 377 | func (self *Shell) Clone(repoName string) *Shell { |
| 378 | self.RunCommand([]string{"git", "clone", "--bare", ".", "../" + repoName}) |
no test coverage detected