public Task PushAsync(ICollection <Branch> branches, bool forceOverwrite, bool thinPack, bool sendTags, IProgress <OperationProgress> progress, CancellationToken cancellationToken) { Verify.State.IsNotDeleted(this); return(RemotesUtility.PushAsync(Repository, this, branches, forceOverwrite, thinPack, sendTags, progress, cancellationToken)); }
/// <summary>Send local objects to remote repository.</summary> public Task PushToAsync(string url, ICollection <Branch> branches, bool forceOverwrite, bool thinPack, bool sendTags, IProgress <OperationProgress> progress, CancellationToken cancellationToken) { Verify.Argument.IsNeitherNullNorWhitespace(url, "url"); return(RemotesUtility.PushAsync(Repository, url, branches, forceOverwrite, thinPack, sendTags, progress, cancellationToken)); }