mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
Add option to delete local and remote tag
This commit is contained in:
committed by
Jesse Duffield
parent
abf914c923
commit
7db8fb8e9c
@ -190,6 +190,10 @@ func (self *Shell) Revert(ref string) *Shell {
|
||||
return self.RunCommand([]string{"git", "revert", ref})
|
||||
}
|
||||
|
||||
func (self *Shell) AssertRemoteTagNotFound(upstream, name string) *Shell {
|
||||
return self.RunCommandExpectError([]string{"git", "ls-remote", "--exit-code", upstream, fmt.Sprintf("refs/tags/%s", name)})
|
||||
}
|
||||
|
||||
func (self *Shell) CreateLightweightTag(name string, ref string) *Shell {
|
||||
return self.RunCommand([]string{"git", "tag", name, ref})
|
||||
}
|
||||
|
Reference in New Issue
Block a user