mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 12:15:00 +00:00
feature<Remote>: add 'Prune' context menu for remote to prune dead branches without fetching
This commit is contained in:
parent
0379d7e331
commit
9f58e0c715
6 changed files with 65 additions and 10 deletions
|
@ -23,6 +23,11 @@ namespace SourceGit.Commands {
|
|||
return Exec();
|
||||
}
|
||||
|
||||
public bool Prune(string name) {
|
||||
Args = $"remote prune {name}";
|
||||
return Exec();
|
||||
}
|
||||
|
||||
public bool SetURL(string name, string url) {
|
||||
Args = $"remote set-url {name} {url}";
|
||||
return Exec();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue