GitWrapper\GitWorkingCopy::pushTags PHP Method

pushTags() public method

This is synonymous with git push --tags origin.
See also: GitWorkingCopy::push()
public pushTags ( string $repository = 'origin', array $options = [] )
$repository string The destination of the push operation, which is either a URL or name of the remote. Defaults to "origin".
$options array (optional) An associative array of command line options.
    public function pushTags($repository = 'origin', array $options = array())
    {
        $options['tags'] = true;
        return $this->push($repository, $options);
    }