RepositoryFixtureBase Class

Summary

Fixture abstracting a git repository
Namespace
GitVersion.Testing
Interfaces
  • IDisposable
Base Types
  • object
Derived Types
graph BT Type-->Base0["object"] Type-.->Interface0["IDisposable"] Type["RepositoryFixtureBase"] class Type type-node Derived0["RemoteRepositoryFixture"]-->Type click Derived0 "/api/GitVersion.Testing/RemoteRepositoryFixture"

Syntax

public abstract class RepositoryFixtureBase : IDisposable

Constructors

Properties

Name Value Summary
Repository Repository
RepositoryPath string
SequenceDiagram SequenceDiagram

Methods

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

Extension Methods

GitHub