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

\GitPushTask

Wrapper aroung git-push

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
link
http://www.kernel.org/pub/software/scm/git/docs/git-push.html
package
phing.tasks.ext.git
since
2.4.3
version
$Id: GitPushTask.php 1051 2011-03-02 19:40:51Z victor $

Properties

Propertyprivateboolean  $allRemotes= 'false'

Instead of naming each ref to push, specifies that all refs --all key to git-push

Default valuefalseDetails
Type
boolean
Propertyprivatestring  $delete= 'false'

Same as prefixing repos with colon --delete argument to git-push

Default valuefalseDetails
Type
string
Propertyprivatestring  $destination= 'origin'

<repository> argument to git-push

Default valueoriginDetails
Type
string
Propertyprivateboolean  $force= 'false'

--force, -f key to git-push

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $mirror= 'false'

Mirror to remote repository --mirror key to git-push

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $quiet= 'true'

--quiet, -q key to git-push

Default valuetrueDetails
Type
boolean
Propertyprivatestring  $refspec= ''

<refspec> argument to git-push

Details
Type
string
Propertyprivateboolean  $tags= 'false'

Push all refs under refs/tags --tags key to git-fetch

Default valuefalseDetails
Type
boolean

Methods

methodpublic  getAll( ) :
methodpublic  getDelete( ) :
methodpublic  getDestination( ) :
methodpublic  getForce( ) :
methodpublic  getMirror( ) :
methodpublic  getQuiet( ) :
methodpublic  getRefspec( ) :
methodpublic  getTags( ) :
methodpublic  isAllRemotes( ) :
methodpublic  isDelete( ) :
methodpublic  isForce( ) :
methodpublic  isMirror( ) :
methodpublic  isQuiet( ) :
methodpublic  isTags( ) :
methodpublic  main( ) :
The main entry point for the task
methodpublic  setAll(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setDelete(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setDestination(  $destination ) :
Parameters
Name Type Description
$destination
methodpublic  setForce(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setMirror(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setQuiet(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setRefspec(  $spec ) :
Parameters
Name Type Description
$spec
methodpublic  setTags(  $flag ) :
Parameters
Name Type Description
$flag
Documentation was generated by DocBlox 0.13.1.