public function createTag($tag, $message = null)
    {
        $command = 'tag';

        if ($message) {
            $command .= " -a -m '$message'";
        }

        $command .= " $tag";

        $this->getClient()->run($this, $command);
    }
public function createTag($tag, $message = null)
    {
        $command = 'tag';

        if ($message) {
            $command .= " -a -m '$message'";
        }

        $command .= " $tag";

        $this->getClient()->run($this, $command);
    }
public function createTag ( $ tag , $ message = null ) { $ command = 'tag' ; if ( $ message ) { $ command .= " -a -m '$message'" ; } $ command .= " $tag" ; $ this -> getClient ( ) -> run ( $ this , $ command ) ; }
Create a new repository tag.

@param string $tag Tag name
Create a new repository tag .