2using System.Collections.Generic;
12 public void Checkout(LibGit2Sharp.IRepository libGit2Repo, CheckoutOptions checkoutOptions,
string commitish)
13 => Commands.Checkout(libGit2Repo, commitish, checkoutOptions);
17 LibGit2Sharp.IRepository libGit2Repo,
18 IEnumerable<string> refSpecs,
20 FetchOptions fetchOptions,
23 ArgumentNullException.ThrowIfNull(libGit2Repo);
25 ArgumentNullException.ThrowIfNull(remote);
27 Commands.Fetch((LibGit2Sharp.Repository)libGit2Repo, remote.Name, refSpecs, fetchOptions, logMessage);
void Fetch(LibGit2Sharp.IRepository libGit2Repo, IEnumerable< string > refSpecs, Remote remote, FetchOptions fetchOptions, string logMessage)
Runs a blocking fetch operation on a given repository .
void Checkout(LibGit2Sharp.IRepository libGit2Repo, CheckoutOptions checkoutOptions, string commitish)
Runs a blocking checkout operation on a given repository .
For low level interactions with a LibGit2Sharp.IRepository.