mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-25 19:32:03 +08:00
13 lines
300 B
C#
13 lines
300 B
C#
namespace SourceGit.Commands
|
|
{
|
|
public class UpdateRef : Command
|
|
{
|
|
public UpdateRef(string repo, string refName, string toRevision)
|
|
{
|
|
WorkingDirectory = repo;
|
|
Context = repo;
|
|
Args = $"update-ref {refName} {toRevision}";
|
|
}
|
|
}
|
|
}
|