migrate test for rename branch and pull

This commit is contained in:
Jesse Duffield 2022-12-28 17:52:04 +11:00
parent 277ca706eb
commit 6f709456fe
52 changed files with 64 additions and 111 deletions

View file

@ -193,3 +193,9 @@ func (self *Shell) RemoveRemoteBranch(remoteName string, branch string) *Shell {
return self
}
func (self *Shell) HardReset(ref string) *Shell {
self.RunCommand(fmt.Sprintf("git reset --hard %s", ref))
return self
}