Свойство | Type | Description | |
---|---|---|---|
DoFetch | void | ||
Network | System |
Méthode | Description | |
---|---|---|
Fetch ( |
Fetch from the Remote.
|
|
Fetch ( |
Fetch from the Remote, using custom refspecs.
|
|
Fetch ( string url, IEnumerable |
Fetch from a url with a set of fetch refspecs
|
|
ListReferences ( |
List references in a Remote repository. When the remote tips are ahead of the local ones, the retrieved DirectReferences may point to non existing GitObjects in the local repository. In that case, DirectReference.Target will return
|
|
ListReferences ( string url ) : IEnumerable |
List references in a remote repository. When the remote tips are ahead of the local ones, the retrieved DirectReferences may point to non existing GitObjects in the local repository. In that case, DirectReference.Target will return
|
|
Pull ( Signature merger, LibGit2Sharp.PullOptions options ) : LibGit2Sharp.MergeResult |
Pull changes from the configured upstream remote and branch into the branch pointed at by HEAD.
|
|
Push ( |
Push specified references to the Remote.
|
|
Push ( |
Push specified reference to the Remote.
|
|
Push ( |
Push the objectish to the destination reference on the Remote.
|
Méthode | Description | |
---|---|---|
Network ( ) : System |
Needed for mocking purposes.
|
Méthode | Description | |
---|---|---|
DoFetch ( RemoteSafeHandle remoteHandle, |
||
Network ( |
public Fetch ( |
||
remote | The remote to fetch | |
options | ||
signature | Signature | Identity for use when updating the reflog. |
logMessage | string | Message to use when updating the reflog. |
Résultat | void |
public Fetch ( |
||
remote | The remote to fetch | |
refspecs | IEnumerable |
Refspecs to use, replacing the remote's fetch refspecs |
options | ||
signature | Signature | Identity for use when updating the reflog. |
logMessage | string | Message to use when updating the reflog. |
Résultat | void |
public Fetch ( string url, IEnumerable |
||
url | string | The url to fetch from |
refspecs | IEnumerable |
The list of resfpecs to use |
options | ||
signature | Signature | Identity for use when updating the reflog. |
logMessage | string | Message to use when updating the reflog. |
Résultat | void |
public ListReferences ( |
||
remote | The |
|
credentialsProvider | CredentialsHandler | The optional |
Résultat | IEnumerable |
public ListReferences ( string url ) : IEnumerable |
||
url | string | The url to list from. |
Résultat | IEnumerable |
public Pull ( Signature merger, LibGit2Sharp.PullOptions options ) : LibGit2Sharp.MergeResult | ||
merger | Signature | If the merge is a non-fast forward merge that generates a merge commit, the |
options | LibGit2Sharp.PullOptions | Specifies optional parameters controlling merge behavior of pull; if null, the defaults are used. |
Résultat | LibGit2Sharp.MergeResult |
public Push ( |
||
remote | The |
|
pushRefSpecs | IEnumerable |
The pushRefSpecs to push. |
pushOptions | LibGit2Sharp.PushOptions | |
signature | Signature | Identity for use when updating the reflog. |
logMessage | string | Message to use when updating the reflog. |
Résultat | void |
public Push ( |
||
remote | The |
|
pushRefSpec | string | The pushRefSpec to push. |
pushOptions | LibGit2Sharp.PushOptions | |
signature | Signature | Identity for use when updating the reflog. |
logMessage | string | Message to use when updating the reflog. |
Résultat | void |
public Push ( |
||
remote | The |
|
objectish | string | The source objectish to push. |
destinationSpec | string | The reference to update on the remote. |
pushOptions | LibGit2Sharp.PushOptions | |
signature | Signature | Identity for use when updating the reflog. |
logMessage | string | Message to use when updating the reflog. |
Résultat | void |