C# Class PowerDeploy.Server.GitCommandLineWrapper

Library support was not enough, so i had to write this wrapper for the command line.
显示文件 Open project: tobiaszuercher/PowerDeploy Class Usage Examples

Public Methods

Method Description
Clone ( string repository ) : void
GitCommandLineWrapper ( string directory, string gitExecutable = "git.exe" ) : System.IO
Init ( ) : void
Pull ( ) : void
PullOrCloneRepository ( string repository ) : void

Private Methods

Method Description
ExecuteGitCommand ( string command ) : void

Method Details

Clone() public method

public Clone ( string repository ) : void
repository string
return void

GitCommandLineWrapper() public method

public GitCommandLineWrapper ( string directory, string gitExecutable = "git.exe" ) : System.IO
directory string
gitExecutable string
return System.IO

Init() public method

public Init ( ) : void
return void

Pull() public method

public Pull ( ) : void
return void

PullOrCloneRepository() public method

public PullOrCloneRepository ( string repository ) : void
repository string
return void