mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 04:15:48 +02:00
Allow deleting remote tags/branches from local tag/branch views (#2738)
This commit is contained in:
parent
c43830b027
commit
0df5cb1286
35 changed files with 487 additions and 158 deletions
|
@ -85,8 +85,8 @@ func (self *BranchCommands) CurrentBranchName() (string, error) {
|
|||
return "", err
|
||||
}
|
||||
|
||||
// Delete delete branch
|
||||
func (self *BranchCommands) Delete(branch string, force bool) error {
|
||||
// LocalDelete delete branch locally
|
||||
func (self *BranchCommands) LocalDelete(branch string, force bool) error {
|
||||
cmdArgs := NewGitCmd("branch").
|
||||
ArgIfElse(force, "-D", "-d").
|
||||
Arg(branch).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue