C# 클래스 GitTasks.NGit

The NGit implementation of the IGitFacade. Uses NGit to perform common Git tasks.
상속: IGitFacade
파일 보기 프로젝트 열기: WilbertOnGithub/MSBuildGitTasks

공개 메소드들

메소드 설명
CheckoutBranch ( string localRepository, string branch ) : void

Checkout a branch or SHA.

Clone ( string repositoryToClone, string targetDirectory ) : void

Clone a Git repository.

GetLatestSha ( string localRepository ) : string

Gets the latest SHA from a local Git repository.

메소드 상세

CheckoutBranch() 공개 메소드

Checkout a branch or SHA.
public CheckoutBranch ( string localRepository, string branch ) : void
localRepository string The local Git repository.
branch string The branch or SHA you want to check out.
리턴 void

Clone() 공개 메소드

Clone a Git repository.
public Clone ( string repositoryToClone, string targetDirectory ) : void
repositoryToClone string The repository to clone.
targetDirectory string The target directory where you want to place the clone.
리턴 void

GetLatestSha() 공개 메소드

Gets the latest SHA from a local Git repository.
public GetLatestSha ( string localRepository ) : string
localRepository string The local Git repository.
리턴 string