sourcegit/src/Commands/Rebase.cs

15 lines
351 B
C#
Raw Normal View History

2021-04-29 05:05:55 -07:00
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;
}
}
}