(name string)
| 135 | } |
| 136 | |
| 137 | func (self *Shell) NewBranch(name string) *Shell { |
| 138 | return self.RunCommand([]string{"git", "checkout", "-b", name}) |
| 139 | } |
| 140 | |
| 141 | func (self *Shell) NewBranchFrom(name string, from string) *Shell { |
| 142 | return self.RunCommand([]string{"git", "checkout", "-b", name, from}) |
no test coverage detected