fetchAll() public method

This is synonymous with git fetch --all.
See also: GitWorkingCopy::fetch()
public fetchAll ( array $options = [] )
$options array (optional) An associative array of command line options.
Esempio n. 1
0
 /**
  * @return string
  */
 public function getCommitHash($rep = 'HEAD')
 {
     $this->git->fetchAll();
     return trim($this->wrapper->git('rev-parse ' . $rep));
 }