classes/phing/tasks/ext/git/GitPullTask.php

\GitPullTask

Wrapper aroung git-pull

Use {@link Project#createTask} to register a new Task.

Extends from
\GitBaseTask
see
\VersionControl_Git
author
Victor Farazdagi
copyright
2001,2002 THYRELL. All rights reserved
package
phing.tasks.ext.git
since
2.4.3
version
$Id: GitPullTask.php 1084 2011-05-06 09:55:25Z mrook $

Properties

Propertyprivateboolean  $allRemotes= 'false'

Fetch all remotes --all key to git-pull

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $append= 'false'

--append key to git-pull

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $force= 'false'

--force, -f key to git-pull

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $keepFiles= 'false'

Keep downloaded pack --keep key to git-pull

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $noRebase= 'false'

--no-rebase key to git-pull Allow to override --rebase (if set to default true in configuration)

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $noTags= 'false'

Disable/enable automatic tag following --no-tags key to git-pull

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $quiet= 'true'

--quiet, -q key to git-pull

Default valuetrueDetails
Type
boolean
Propertyprivateboolean  $rebase= 'false'

--rebase key to git-pull

Default valuefalseDetails
Type
boolean
Propertyprivatestring  $refspec= ''

<refspec> argument to git-pull

Details
Type
string
Propertyprivatestring  $source= 'origin'

<repository> argument to git-pull

Default valueoriginDetails
Type
string
Propertyprivatestring  $strategy= ''

Merge strategy. See -s <strategy> of git-pull

Details
Type
string
Propertyprivatestring  $strategyOption= ''

-X or --strategy-option of git-pull

Details
Type
string
Propertyprivateboolean  $tags= 'false'

Fetch all tags (even not reachable from branch heads) --tags key to git-pull

Default valuefalseDetails
Type
boolean
Propertyprivatearray  $validStrategies= 'array'

Valid merge strategies

Default valuearrayDetails
Type
array

Methods

methodpublic  getAll( ) :
methodpublic  getAppend( ) :
methodpublic  getForce( ) :
methodpublic  getKeep( ) :
methodpublic  getNoRebase( ) :
methodpublic  getNoTags( ) :
methodpublic  getQuiet( ) :
methodpublic  getRebase( ) :
methodpublic  getRefspec( ) :
methodpublic  getSource( ) :
methodpublic  getStrategy( ) :
methodpublic  getStrategyOption( ) :
methodpublic  getTags( ) :
methodpublic  isAllRemotes( ) :
methodpublic  isAppend( ) :
methodpublic  isForce( ) :
methodpublic  isKeepFiles( ) :
methodpublic  isNoRebase( ) :
methodpublic  isNoTags( ) :
methodpublic  isQuiet( ) :
methodpublic  isRebase( ) :
methodpublic  isTags( ) :
methodpublic  main( ) :
The main entry point for the task
methodpublic  setAll(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setAppend(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setForce(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setKeep(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setNoRebase(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setNoTags(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setQuiet(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setRebase(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setRefspec(  $spec ) :
Parameters
Name Type Description
$spec
methodpublic  setSource(  $source ) :
Parameters
Name Type Description
$source
methodpublic  setStrategy(  $strategy ) :
Parameters
Name Type Description
$strategy
methodpublic  setStrategyOption(  $strategyOption ) :
Parameters
Name Type Description
$strategyOption
methodpublic  setTags(  $flag ) :
Parameters
Name Type Description
$flag
Documentation was generated by DocBlox 0.13.1.