Beispiel #1
0
        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));
        }
Beispiel #2
0
        /// <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));
        }