C# Class GitSharp.Commands

Show file Open project: stschake/GitSharp

Public Methods

Method Description
Clone ( CloneCommand command ) : Repository
Clone ( string fromUrl, string toPath ) : Repository

Clone a repository and checkout the working directory.

Clone ( string fromUrl, string toPath, bool bare ) : Repository

Clone a repository and checkout the working directory only if bare == false

Init ( InitCommand command ) : void
Init ( string path ) : void
Init ( string path, bool bare ) : void

Method Details

Clone() public static method

public static Clone ( CloneCommand command ) : Repository
command CloneCommand
return Repository

Clone() public static method

Clone a repository and checkout the working directory.
public static Clone ( string fromUrl, string toPath ) : Repository
fromUrl string
toPath string
return Repository

Clone() public static method

Clone a repository and checkout the working directory only if bare == false
public static Clone ( string fromUrl, string toPath, bool bare ) : Repository
fromUrl string
toPath string
bare bool
return Repository

Init() public static method

public static Init ( InitCommand command ) : void
command InitCommand
return void

Init() public static method

public static Init ( string path ) : void
path string
return void

Init() public static method

public static Init ( string path, bool bare ) : void
path string
bare bool
return void