# tasks/ext/git/GitFetchTask.php

## \GitFetchTask
jump to top

Package: phing\tasks\ext\git

Wrapper aroung git-fetch

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

### Properties

`boolean $allRemotes= 'false'`

Fetch all remotes --all key to git-fetch

Default value `false` Details

Type
  boolean

`boolean $force= 'false'`

--force, -f key to git-fetch

Default value `false` Details

Type
  boolean

`string $group= ''`

<group> argument to git-fetch

Details

Type
  string

`boolean $keepFiles= 'false'`

Keep downloaded pack --keep key to git-fetch

Default value `false` Details

Type
  boolean

`boolean $noTags= 'false'`

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

Default value `false` Details

Type
  boolean

`boolean $prune= 'false'`

After fetching, remove any remote tracking branches which no longer exist on the remote.

--prune key to git fetch

Default value `false` Details

Type
  boolean

`boolean $quiet= 'false'`

--quiet, -q key to git-fetch

Default value `false` Details

Type
  boolean

`string $refspec= ''`

<refspec> argument to git-fetch

Details

Type
  string

`string $source= ''origin''`

<repository> argument to git-fetch

Default value`'origin'`Details

Type
  string

`boolean $tags= 'false'`

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

Default value `false` Details

Type
  boolean

### Methods

`getAll( ) : void`

`getDescription( ) : void`

`getForce( ) : void`

`getGitClient( ) : void`

`getGitPath( ) : void`

`getGroup( ) : void`

`getKeep( ) : void`

`getLocation( ) : void`

`getNoTags( ) : void`

`getOwningTarget( ) : void`

`getProject( ) : void`

`getPrune( ) : void`

`getQuiet( ) : void`

`getRefspec( ) : void`

`getRegisterSlot( ) : void`

`getRepository( ) : void`

`getRuntimeConfigurableWrapper( ) : void`

`getSource( ) : void`

`getTags( ) : void`

`getTaskName( ) : void`

`getTaskType( ) : void`

`init( ) : void`

`isAllRemotes( ) : void`

`isForce( ) : void`

`isKeepFiles( ) : void`

`isNoTags( ) : void`

`isPrune( ) : void`

`isQuiet( ) : void`

`isTags( ) : void`

`log( ) : void`

`main( ) : void`

The main entry point for the task

`maybeConfigure( ) : void`

`perform( ) : void`

`setAll( $flag ) : void`

Parameters

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

`setDescription( ) : void`

`setForce( $flag ) : void`

Parameters

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

`setGitPath( ) : void`

`setGroup( $group ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$group |  |

`setKeep( $flag ) : void`

Parameters

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

`setLocation( ) : void`

`setNoTags( $flag ) : void`

Parameters

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

`setOwningTarget( ) : void`

`setProject( ) : void`

`setPrune( $flag ) : void`

Parameters

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

`setQuiet( $flag ) : void`

Parameters

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

`setRefspec( $spec ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$spec |  |

`setRepository( ) : void`

`setRuntimeConfigurableWrapper( ) : void`

`setSource( $source ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$source |  |

`setTags( $flag ) : void`

Parameters

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

`setTaskName( ) : void`

`setTaskType( ) : void`

Documentation was generated by DocBlox 0.17.1.