feature: cherry-pick multiple commits (#418)

This commit is contained in:
leo 2024-08-28 11:26:00 +08:00
parent b2bbbb191c
commit ce2340456e
No known key found for this signature in database
11 changed files with 138 additions and 39 deletions

View file

@ -2,12 +2,12 @@
{
public class CherryPick : Command
{
public CherryPick(string repo, string commit, bool noCommit)
public CherryPick(string repo, string commits, bool noCommit)
{
var mode = noCommit ? "-n" : "--ff";
WorkingDirectory = repo;
Context = repo;
Args = $"cherry-pick {mode} {commit}";
Args = $"cherry-pick {mode} {commits}";
}
}
}