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

\GitCheckoutTask

Wrapper around git-checkout

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: GitCheckoutTask.php 1051 2011-03-02 19:40:51Z victor $

Properties

Propertyprivatestring  $branchname= ''

Branch name

Details
Type
string
Propertyprivatearray  $extraOptions= 'array'

-b, -B, -m options to git-checkout Respective task options: create, forceCreate, merge

Default valuearrayDetails
Type
array
Propertyprivateboolean  $force= 'false'

--force, -f key to git-checkout

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $noTrack= 'false'

Do not set up "upstream" configuration --no-track key to git-checkout

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $quiet= 'false'

--quiet, -q key to git-checkout

Default valuefalseDetails
Type
boolean
Propertyprivatestring  $startPoint= ''

If not HEAD, specify starting point

Details
Type
string
Propertyprivateboolean  $track= 'false'

When creating a new branch, set up "upstream" configuration.

--track key to git-checkout

Default valuefalseDetails
Type
boolean

Methods

methodpublic  getBranchname( ) :
methodpublic  getCreate( ) :
methodpublic  getForce( ) :
methodpublic  getForceCreate( ) :
methodpublic  getMerge( ) :
methodpublic  getNoTrack( ) :
methodpublic  getQuiet( ) :
methodpublic  getStartPoint( ) :
methodpublic  getTrack( ) :
methodpublic  isCreate( ) :
methodpublic  isForce( ) :
methodpublic  isForceCreate( ) :
methodpublic  isMerge( ) :
methodpublic  isNoTrack( ) :
methodpublic  isQuiet( ) :
methodpublic  isTrack( ) :
methodpublic  main( ) :
The main entry point for the task
methodpublic  setBranchname(  $branchname ) :
Parameters
Name Type Description
$branchname
methodpublic  setCreate(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setForce(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setForceCreate(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setMerge(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setNoTrack(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setQuiet(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setStartPoint(  $startPoint ) :
Parameters
Name Type Description
$startPoint
methodpublic  setTrack(  $flag ) :
Parameters
Name Type Description
$flag
Documentation was generated by DocBlox 0.13.1.