1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00

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
}