public function status($porcelain = false)
    {
        $this->clearAll();
        $this->addCommandName(self::GIT_STATUS);
        if ($porcelain) {
            $this->addCommandArgument('--porcelain');
        } else {
            $this->addConfigs(array('color.status' => 'false'));
        }

        return $this->getCommand();
    }
public function status($porcelain = false)
    {
        $this->clearAll();
        $this->addCommandName(self::GIT_STATUS);
        if ($porcelain) {
            $this->addCommandArgument('--porcelain');
        } else {
            $this->addConfigs(array('color.status' => 'false'));
        }

        return $this->getCommand();
    }
public function status ( $ porcelain = false ) { $ this -> clearAll ( ) ; $ this -> addCommandName ( self :: GIT_STATUS ) ; if ( $ porcelain ) { $ this -> addCommandArgument ( '--porcelain' ) ; } else { $ this -> addConfigs ( array ( 'color.status' => 'false' ) ) ; } return $ this -> getCommand ( ) ; }
Get the repository status

@param bool $porcelain

@throws \RuntimeException
@return string
Get the repository status