GitWrapper\GitWorkingCopy::pushTag PHP Method

pushTag() public method

This is synonymous with git push origin tag v1.2.3.
See also: GitWorkingCopy::push()
public pushTag ( string $tag, string $repository = 'origin', array $options = [] )
$tag string The tag being pushed.
$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 pushTag($tag, $repository = 'origin', array $options = array())
    {
        return $this->push($repository, 'tag', $tag, $options);
    }