C# Class PowerDeploy.Server.GitCommandLineWrapper

Library support was not enough, so i had to write this wrapper for the command line.
Afficher le fichier Open project: tobiaszuercher/PowerDeploy Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode Description
ExecuteGitCommand ( string command ) : void

Method Details

Clone() public méthode

public Clone ( string repository ) : void
repository string
Résultat void

GitCommandLineWrapper() public méthode

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

Init() public méthode

public Init ( ) : void
Résultat void

Pull() public méthode

public Pull ( ) : void
Résultat void

PullOrCloneRepository() public méthode

public PullOrCloneRepository ( string repository ) : void
repository string
Résultat void