RemoteRepositoryFixture Class

Summary

Creates a remote repository then clones it Remote = Repository Local = LocalRepositoryFixture
Namespace
GitVersion.Testing
Interfaces
  • IDisposable
Base Types
graph BT Type-->Base0["RepositoryFixtureBase"] click Base0 "/api/GitVersion.Testing/RepositoryFixtureBase" Base0-->Base1["object"] Type-.->Interface0["IDisposable"] Type["RemoteRepositoryFixture"] class Type type-node

Syntax

public class RemoteRepositoryFixture : RepositoryFixtureBase, IDisposable

Constructors

Properties

Name Value Summary
LocalRepositoryFixture LocalRepositoryFixture
Fixture pointing at the local repository
Repository Repository
Inherited from RepositoryFixtureBase
RepositoryPath string
Inherited from RepositoryFixtureBase
SequenceDiagram SequenceDiagram
Inherited from RepositoryFixtureBase

Methods

Name Value Summary
ApplyTag(string) void
Inherited from RepositoryFixtureBase
BranchTo(string, string) void
Inherited from RepositoryFixtureBase
BranchToFromTag(string, string, string, string) void
Inherited from RepositoryFixtureBase
Checkout(string) void
Inherited from RepositoryFixtureBase
CloneRepository() LocalRepositoryFixture
Clones the repository managed by this fixture into another LocalRepositoryFixture
Inherited from RepositoryFixtureBase
CreateBranch(string, string) void
Inherited from RepositoryFixtureBase
CreateNewRepository(string, string, int) Repository
Inherited from RepositoryFixtureBase
static
Dispose() void
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Inherited from RepositoryFixtureBase
Dispose(bool) void
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Fetch(string, FetchOptions?) void
Inherited from RepositoryFixtureBase
Init(string, string) void
Inherited from RepositoryFixtureBase
static
MakeACommit() string
Inherited from RepositoryFixtureBase
MakeATaggedCommit(string) string
Inherited from RepositoryFixtureBase
MakeShallow() void
Pulls with a depth of 1 and prunes all older commits, making the repository shallow.
Inherited from RepositoryFixtureBase
MergeNoFF(string) void
Merges (no-ff) specified branch into the current HEAD of this repository
Inherited from RepositoryFixtureBase
MergeTo(string, bool) void
Inherited from RepositoryFixtureBase
Remove(string) void
Inherited from RepositoryFixtureBase

Extension Methods

GitHub