mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-17 00:18:05 +02:00
Allow deleting remote tags/branches from local tag/branch views (#2738)
This commit is contained in:
@ -162,6 +162,10 @@ func (self *Shell) CreateAnnotatedTag(name string, message string, ref string) *
|
||||
return self.RunCommand([]string{"git", "tag", "-a", name, "-m", message, ref})
|
||||
}
|
||||
|
||||
func (self *Shell) PushBranch(upstream, branch string) *Shell {
|
||||
return self.RunCommand([]string{"git", "push", "--set-upstream", upstream, branch})
|
||||
}
|
||||
|
||||
// convenience method for creating a file and adding it
|
||||
func (self *Shell) CreateFileAndAdd(fileName string, fileContents string) *Shell {
|
||||
return self.
|
||||
|
Reference in New Issue
Block a user