Files
gitcommiteditor/Services/IGitPushService.cs

15 lines
408 B
C#

using MarketAlly.GitCommitEditor.Models;
namespace MarketAlly.GitCommitEditor.Services;
/// <summary>
/// Handles git push operations and remote tracking.
/// </summary>
public interface IGitPushService
{
bool IsCommitPushed(string repoPath, string commitHash);
TrackingInfo GetTrackingInfo(string repoPath);
GitPushResult Push(string repoPath);
GitPushResult ForcePush(string repoPath);
}