# tasks/ext/git/GitBranchTask.php

## \GitBranchTask
jump to top

Package: phing\tasks\ext\git

Wrapper aroung git-branch

Parent(s)
  \GitBaseTask < \Task < \ProjectComponent
See
  \VersionControl_Git
Author
  Victor Farazdagi
Since
  2.4.3
Version
  $Id: GitBranchTask.php 1051 2011-03-02 19:40:51Z victor $

### Properties

`string $branchname= ''`

Branch name

Details

Type
  string

`array $extraOptions= 'array( 'd' => false'`

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

Default value `array( 'd' => false` Details

Type
  array

`boolean $force= 'false'`

--force, -f key to git-branch

Default value `false` Details

Type
  boolean

`string $newbranch= ''`

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

Details

Type
  string

`boolean $noTrack= 'false'`

--no-track key to git-branch

Default value `false` Details

Type
  boolean

`boolean $setUpstream= 'false'`

--set-upstream key to git-branch

Default value `false` Details

Type
  boolean

`string $startPoint= ''`

If not HEAD, specify starting point

Details

Type
  string

`boolean $track= 'false'`

--track key to git-branch

Default value `false` Details

Type
  boolean

### Methods

`getBranchname( ) : void`

`getDelete( ) : void`

`getDescription( ) : void`

`getForce( ) : void`

`getForceDelete( ) : void`

`getForceMove( ) : void`

`getGitClient( ) : void`

`getGitPath( ) : void`

`getLocation( ) : void`

`getMove( ) : void`

`getNewBranch( ) : void`

`getNoTrack( ) : void`

`getOwningTarget( ) : void`

`getProject( ) : void`

`getRegisterSlot( ) : void`

`getRepository( ) : void`

`getRuntimeConfigurableWrapper( ) : void`

`getSetUpstream( ) : void`

`getStartPoint( ) : void`

`getTaskName( ) : void`

`getTaskType( ) : void`

`getTrack( ) : void`

`init( ) : void`

`isDelete( ) : void`

`isForce( ) : void`

`isForceMove( ) : void`

`isMove( ) : void`

`isNoTrack( ) : void`

`isSetUpstream( ) : void`

`isTrack( ) : void`

`log( ) : void`

`main( ) : void`

The main entry point for the task

`maybeConfigure( ) : void`

`perform( ) : void`

`setBranchname( $branchname ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$branchname |  |

`setDelete( $flag ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$flag |  |

`setDescription( ) : void`

`setForce( $flag ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$flag |  |

`setForceDelete( $flag ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$flag |  |

`setForceMove( $flag ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$flag |  |

`setGitPath( ) : void`

`setLocation( ) : void`

`setMove( $flag ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$flag |  |

`setNewBranch( $name ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$name |  |

`setNoTrack( $flag ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$flag |  |

`setOwningTarget( ) : void`

`setProject( ) : void`

`setRepository( ) : void`

`setRuntimeConfigurableWrapper( ) : void`

`setSetUpstream( $flag ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$flag |  |

`setStartPoint( $startPoint ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$startPoint |  |

`setTaskName( ) : void`

`setTaskType( ) : void`

`setTrack( $flag ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$flag |  |

Documentation was generated by DocBlox 0.17.1.