mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 04:15:48 +02:00
migrate test for rename branch and pull
This commit is contained in:
parent
277ca706eb
commit
6f709456fe
52 changed files with 64 additions and 111 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue