sourcegit/src/Commands/Rebase.cs
2021-04-29 20:05:55 +08:00

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;
}
}
}