public function stage($path = '.')
    {
        $this->caller->execute(MainCommand::getInstance($this)->add($path));

        return $this;
    }
public function stage($path = '.')
    {
        $this->caller->execute(MainCommand::getInstance($this)->add($path));

        return $this;
    }
public function stage ( $ path = '.' ) { $ this -> caller -> execute ( MainCommand :: getInstance ( $ this ) -> add ( $ path ) ) ; return $ this ; }
Stage the working tree content

@param string|NodeObject $path the path to store

@throws \RuntimeException
@throws \Symfony\Component\Process\Exception\LogicException
@throws InvalidArgumentException
@throws \Symfony\Component\Process\Exception\RuntimeException
@return Repository
Stage the working tree content