public function unstage($what)
    {
        $this->clearAll();
        $this->addCommandName(self::GIT_RESET);
        $this->addCommandArgument('HEAD');
        $this->addPath($what);

        return $this->getCommand();
    }
public function unstage($what)
    {
        $this->clearAll();
        $this->addCommandName(self::GIT_RESET);
        $this->addCommandArgument('HEAD');
        $this->addPath($what);

        return $this->getCommand();
    }
public function unstage ( $ what ) { $ this -> clearAll ( ) ; $ this -> addCommandName ( self :: GIT_RESET ) ; $ this -> addCommandArgument ( 'HEAD' ) ; $ this -> addPath ( $ what ) ; return $ this -> getCommand ( ) ; }
Remove a node from the stage and put in the working tree

@param string $what what should be removed from the stage

@throws \RuntimeException
@return string
Remove a node from the stage and put in the working tree