mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 04:15:48 +02:00
migrate patch building tests
This commit is contained in:
parent
6c0b805137
commit
dd1bf629b8
161 changed files with 1204 additions and 489 deletions
|
@ -136,6 +136,10 @@ func (self *Shell) EmptyCommit(message string) *Shell {
|
|||
return self.RunCommand(fmt.Sprintf("git commit --allow-empty -m \"%s\"", message))
|
||||
}
|
||||
|
||||
func (self *Shell) Revert(ref string) *Shell {
|
||||
return self.RunCommand(fmt.Sprintf("git revert %s", ref))
|
||||
}
|
||||
|
||||
func (self *Shell) CreateLightweightTag(name string, ref string) *Shell {
|
||||
return self.RunCommand(fmt.Sprintf("git tag %s %s", name, ref))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue