프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$binPath | path to the 'git' bin command. By default simple 'git' is used assuming it available as global shell command. It could be '/usr/bin/git' for example. | ||
$remoteName | name of the GIT remote, which should be used to get changes. |
메소드 | 설명 | |
---|---|---|
applyRemoteChanges ( string $projectRoot, string &$log = null ) : boolean | Applies changes from remote repository. | |
getCurrentBranch ( string $projectRoot ) : string | Returns currently active GIT branch name for the project. | |
hasRemoteChanges ( string $projectRoot, string &$log = null ) : boolean | Checks, if there are some changes in remote repository. |
public getCurrentBranch ( string $projectRoot ) : string | ||
$projectRoot | string | VCS project root directory path. |
리턴 | string | branch name. |
public $binPath |