public function create($bare = null)
    {
        mkdir($this->getPath());
        $command = 'init';

        if ($bare) {
            $command .= ' --bare';
        }

        $this->getClient()->run($this, $command);

        return $this;
    }
public function create($bare = null)
    {
        mkdir($this->getPath());
        $command = 'init';

        if ($bare) {
            $command .= ' --bare';
        }

        $this->getClient()->run($this, $command);

        return $this;
    }
public function create ( $ bare = null ) { mkdir ( $ this -> getPath ( ) ) ; $ command = 'init' ; if ( $ bare ) { $ command .= ' --bare' ; } $ this -> getClient ( ) -> run ( $ this , $ command ) ; return $ this ; }
Create a new git repository.
Create a new git repository .