Magestead\Service\VersionControl::init PHP Method

init() public method

Initialise the GIT repo
public init ( )
    public function init()
    {
        $command = 'git init; git remote add origin ' . $this->_repoUrl;
        new ProcessCommand($command, $this->_projectPath, $this->_output);
        return $this;
    }