sourcegit/src/Commands/Rebase.cs

16 lines
360 B
C#
Raw Normal View History

namespace SourceGit.Commands
{
public class Rebase : Command
{
public Rebase(string repo, string basedOn, bool autoStash)
{
WorkingDirectory = repo;
Context = repo;
2021-04-29 05:05:55 -07:00
Args = "rebase ";
if (autoStash)
Args += "--autostash ";
2021-04-29 05:05:55 -07:00
Args += basedOn;
}
}
}