\PhpGitGitWorkingCopy

Small class to interact with a git working copy directory Plan : $gitRepo = new GitRemoteRepo($path); $gitWorkingCopy = $gitRepo->clone($workingCopyPath); // and also : $gitWorkingCopy->getRemoteRepo($name); Class GitWorkingCopy

Summary

Methods
Properties
Constants
__construct()
add()
cancel()
commit()
mv()
rm()
pull()
push()
fetch()
getRemotes()
getBranches()
getBranch()
getTags()
getConfigList()
$workingCopyPath_
$gitBinary_
$config_
No constants found
No protected methods found
No protected properties found
N/A
runGit()
No private properties found
N/A

Properties

$workingCopyPath_

$workingCopyPath_ : 

Type

$gitBinary_

$gitBinary_ : 

Type

$config_

$config_ : 

Type

Methods

__construct()

__construct(  $path) 

Parameters

$path

add()

add(  $path) 

Parameters

$path

cancel()

cancel(  $path) 

Parameters

$path

commit()

commit(  $message) 

Parameters

$message

mv()

mv(  $source,   $target) 

Parameters

$source
$target

rm()

rm(  $path,   $recursive = false,   $force = false) 

Parameters

$path
$recursive
$force

pull()

pull(  $remote = null,   $ref = null) 

Parameters

$remote
$ref

push()

push(  $remote = null,   $ref = null) 

Parameters

$remote
$ref

fetch()

fetch(  $remote = null,   $ref = null) 

Parameters

$remote
$ref

getRemotes()

getRemotes() 

getBranches()

getBranches() 

getBranch()

getBranch(  $name) 

Parameters

$name

getTags()

getTags() 

getConfigList()

getConfigList(  $object) 

Parameters

$object

runGit()

runGit(  $arguments) 

Parameters

$arguments