You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
383 B
14 lines
383 B
using System.IO.Abstractions;
|
|
|
|
namespace TrashLib.Repo.VersionControl;
|
|
|
|
public interface IGitRepository : IDisposable
|
|
{
|
|
Task ForceCheckout(string branch);
|
|
Task Fetch(string remote = "origin");
|
|
Task ResetHard(string toBranchOrSha1);
|
|
Task SetRemote(string name, string newUrl);
|
|
IDirectoryInfo Path { get; }
|
|
Task Clone(string cloneUrl, string? branch = null);
|
|
}
|