You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the branch string is not valid: remotes/origin/HEAD -> origin/master
/vendor/cypresslab/gitelephant/src/GitElephant/Objects/Branch.php:199
public static function getMatches($branchString)
{
$matches = array();
preg_match('/^\*?\ *?(\S+)\ +(\S{40})\ +(.+)$/', trim($branchString), $matches);
if (!count($matches)) {
throw new \InvalidArgumentException(sprintf('the branch string is not valid: %s', $branchString));
}
The text was updated successfully, but these errors were encountered:
When im using
$branches = $repository->getBranches(false, true);
im getting this error
The text was updated successfully, but these errors were encountered: