sourcegit/src/SourceGit/Commands/Rebase.cs
2024-03-20 02:38:28 -05:00

14 lines
No EOL
343 B
C#

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