tasks/ext/git/GitPullTask.php
\GitPullTask
Package: phing\tasks\ext\git
Wrapper aroung git-pull
- Parent(s)
- \GitBaseTask < \Task < \ProjectComponent
- See
- \VersionControl_Git
- Author
- Victor Farazdagi
- Since
- 2.4.3
- Version
- $Id: GitPullTask.php 1084 2011-05-06 09:55:25Z mrook $
Properties

boolean
$allRemotes= 'false'
Fetch all remotes --all key to git-pull
Default value
falseDetails- Type
- boolean

\VersionControl_Git
$gitClient= 'null'
inheritedInherited from:
\GitBaseTask::$$gitClient
Default value
nullDetails- Type
- \VersionControl_Git
- Inherited_from
- \GitBaseTask::$$gitClient

string
$gitPath= ''/usr/bin/git''
Default value
'/usr/bin/git'Details- Type
- string
- Inherited_from
- \GitBaseTask::$$gitPath

boolean
$keepFiles= 'false'
Keep downloaded pack --keep key to git-pull
Default value
falseDetails- Type
- boolean

boolean
$noRebase= 'false'
--no-rebase key to git-pull Allow to override --rebase (if set to default true in configuration)
Default value
falseDetails- Type
- boolean

boolean
$noTags= 'false'
Disable/enable automatic tag following --no-tags key to git-pull
Default value
falseDetails- Type
- boolean

string
$source= ''origin''
<repository> argument to git-pull
Default value
'origin'Details- Type
- string

boolean
$tags= 'false'
Fetch all tags (even not reachable from branch heads) --tags key to git-pull
Default value
falseDetails- Type
- boolean
Methods

getGitClient(
$reset
=
false, $repository
=
null
)
:
void
inherited
Inherited from:
\GitBaseTask::getGitClient()
Parameters
| Name | Type | Description |
|---|---|---|
| $reset | ||
| $repository |

getRuntimeConfigurableWrapper(
)
:
void
inherited
Inherited from:
Task::getRuntimeConfigurableWrapper()\GitBaseTask::getRuntimeConfigurableWrapper()

setGitPath(
string $gitPath
)
:
\GitBaseTask
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $gitPath | string | New path to git repository |
| Type | Description |
|---|---|
| \GitBaseTask |

setRepository(
string $repository
)
:
\GitBaseTask
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $repository | string | Repo directory |
| Type | Description |
|---|---|
| \GitBaseTask |

setRuntimeConfigurableWrapper(
)
:
void
inherited
Inherited from:
Task::setRuntimeConfigurableWrapper()\GitBaseTask::setRuntimeConfigurableWrapper()