mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
14 lines
351 B
C#
14 lines
351 B
C#
namespace SourceGit.Commands {
|
|
/// <summary>
|
|
/// 变基命令
|
|
/// </summary>
|
|
public class Rebase : Command {
|
|
|
|
public Rebase(string repo, string basedOn, bool autoStash) {
|
|
Cwd = repo;
|
|
Args = "rebase ";
|
|
if (autoStash) Args += "--autostash ";
|
|
Args += basedOn;
|
|
}
|
|
}
|
|
}
|