PHP 클래스 PsyGit\RepositoryManager

저자: Jefersson Nathan ([email protected])
파일 보기 프로젝트 열기: malukenho/PsyGit

공개 메소드들

메소드 설명
checkoutToBranch ( string $branch ) : self
cherryPick ( string $commit ) : self
cloneToDirectory ( string $repositoryUrl, string $destinationPath, string $branch = Git\CloneRepository::BRANCH_MASTER ) : self
commit ( string $message ) : self
createNewBranch ( string $newBranchName ) : self
fetchPullRequestToBranch ( integer $pullRequest, string $branch, string $remote = Git\FetchPullRequestNumber::DEFAULT_REMOTE ) : self
fromDirectory ( string $directory ) : self
initializeOnDirectory ( string $directory ) : self
push ( string $remoteAlias, string $branch, string $option = Git\Push::PUSH_NORMAL ) : self
remoteAdd ( string $alias, string $remoteUrl ) : self
remoteRemove ( string $alias ) : self
trackAllFiles ( ) : self
trackFile ( string $file ) : self

비공개 메소드들

메소드 설명
__construct ( string $directory )
getExecutorHandler ( ) : callable

메소드 상세

checkoutToBranch() 공개 메소드

public checkoutToBranch ( string $branch ) : self
$branch string
리턴 self

cherryPick() 공개 메소드

public cherryPick ( string $commit ) : self
$commit string
리턴 self

cloneToDirectory() 공개 정적인 메소드

public static cloneToDirectory ( string $repositoryUrl, string $destinationPath, string $branch = Git\CloneRepository::BRANCH_MASTER ) : self
$repositoryUrl string
$destinationPath string
$branch string
리턴 self

commit() 공개 메소드

public commit ( string $message ) : self
$message string
리턴 self

createNewBranch() 공개 메소드

public createNewBranch ( string $newBranchName ) : self
$newBranchName string
리턴 self

fetchPullRequestToBranch() 공개 메소드

public fetchPullRequestToBranch ( integer $pullRequest, string $branch, string $remote = Git\FetchPullRequestNumber::DEFAULT_REMOTE ) : self
$pullRequest integer
$branch string
$remote string
리턴 self

fromDirectory() 공개 정적인 메소드

public static fromDirectory ( string $directory ) : self
$directory string
리턴 self

initializeOnDirectory() 공개 정적인 메소드

public static initializeOnDirectory ( string $directory ) : self
$directory string
리턴 self

push() 공개 메소드

public push ( string $remoteAlias, string $branch, string $option = Git\Push::PUSH_NORMAL ) : self
$remoteAlias string
$branch string
$option string
리턴 self

remoteAdd() 공개 메소드

public remoteAdd ( string $alias, string $remoteUrl ) : self
$alias string
$remoteUrl string
리턴 self

remoteRemove() 공개 메소드

public remoteRemove ( string $alias ) : self
$alias string
리턴 self

trackAllFiles() 공개 메소드

public trackAllFiles ( ) : self
리턴 self

trackFile() 공개 메소드

public trackFile ( string $file ) : self
$file string
리턴 self