mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 04:15:48 +02:00
add tag checkout test
This commit is contained in:
parent
76109a4c44
commit
daf8176dd7
3 changed files with 36 additions and 0 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) CreateLightweightTag(name string, ref string) *Shell {
|
||||
return self.RunCommand(fmt.Sprintf("git tag %s %s", name, ref))
|
||||
}
|
||||
|
||||
// convenience method for creating a file and adding it
|
||||
func (self *Shell) CreateFileAndAdd(fileName string, fileContents string) *Shell {
|
||||
return self.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue