Namespaces

Types in GitSharp.Commands

Type AbstractCommand

Namespace GitSharp.Commands

Interfaces IGitCommand

Abstract base class of all git commands. It provides basic infrastructure

Methods

Properties

Public instance methods

bool Equals(object obj)

Overriding equals to reflect that different AbstractObject instances with the same hash are in fact equal.

int GetHashCode()

Type GetType()

string ToString()

Public static methods

string FindGitDirectory(string rootDirectory, bool recursive, bool isBare)

Performs upward recursive lookup to return git directory. Honors the environment variable GIT_DIR.

Public properties

string ActualDirectory get;

Get the directory where the Init command will initialize the repository. if GitDirectory is null ActualDirectory is used to initialize the repository.

string GitDirectory get; set;

The git directory. If not explicitly set, the command uses Git.GitDirectory.

StreamWriter OutputStream get; set;

This command's output stream. If not explicitly set, the command writes to Git.OutputStream out.

Repository Repository get; set;

The git repository that is either result of the command (init, clone) or subject to alteration (all other commands). If not explicitly set, the command uses Git.Commands.Repository. Note: InitCommand and CloneCommand ignore this property and overwrite it as a result of Execute.