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

\GitBranchTask

Wrapper aroung git-branch

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

Properties

Propertyprivatestring  $branchname= ''

Branch name

Details
Type
string
Propertyprivatearray  $extraOptions= 'array'

-d, -D, -m, -M options to git-branch Respective task options: delete, forceDelete, move, forceMove

Default valuearrayDetails
Type
array
Propertyprivateboolean  $force= 'false'

--force, -f key to git-branch

Default valuefalseDetails
Type
boolean
Propertyprivatestring  $newbranch= ''

New Branch name for git-branch -m | -M

Details
Type
string
Propertyprivateboolean  $noTrack= 'false'

--no-track key to git-branch

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $setUpstream= 'false'

--set-upstream key to git-branch

Default valuefalseDetails
Type
boolean
Propertyprivatestring  $startPoint= ''

If not HEAD, specify starting point

Details
Type
string
Propertyprivateboolean  $track= 'false'

--track key to git-branch

Default valuefalseDetails
Type
boolean

Methods

methodpublic  getBranchname( ) :
methodpublic  getDelete( ) :
methodpublic  getForce( ) :
methodpublic  getForceDelete( ) :
methodpublic  getForceMove( ) :
methodpublic  getMove( ) :
methodpublic  getNewBranch( ) :
methodpublic  getNoTrack( ) :
methodpublic  getSetUpstream( ) :
methodpublic  getStartPoint( ) :
methodpublic  getTrack( ) :
methodpublic  isDelete( ) :
methodpublic  isForce( ) :
methodpublic  isForceMove( ) :
methodpublic  isMove( ) :
methodpublic  isNoTrack( ) :
methodpublic  isSetUpstream( ) :
methodpublic  isTrack( ) :
methodpublic  main( ) :
The main entry point for the task
methodpublic  setBranchname(  $branchname ) :
Parameters
Name Type Description
$branchname
methodpublic  setDelete(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setForce(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setForceDelete(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setForceMove(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setMove(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setNewBranch(  $name ) :
Parameters
Name Type Description
$name
methodpublic  setNoTrack(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setSetUpstream(  $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.