Summary
Extends
IGitRepository
with operations that modify the repository state.
- Namespace
-
GitVersion
.Git - Interfaces
-
- IGitRepository
- IDisposable
graph BT Type-.->Interface0["IGitRepository"] click
Interface0 "/api/GitVersion.Git/IGitRepository"
Type-.->Interface1["IDisposable"]
Type["IMutatingGitRepository"] class Type type-node
Syntax
public interface IMutatingGitRepository : IGitRepository, IDisposable
Methods
| Name | Value | Summary |
|---|---|---|
|
Checkout |
void |
Checks out the specified commit or branch.
|
|
Clone |
void |
Clones the repository at
sourceUrl
into
workdirPath
using the supplied credentials.
|
|
Create |
void |
Creates a local branch that tracks the pull-request ref
identified by the current build environment.
|
|
Fetch |
void |
Fetches the given
refSpecs
from
remote using
the supplied credentials.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
|
NotNull |
T |
Throws
ArgumentNullException when
value is
null; otherwise returns the
value.
From
CommonExtensions
|