Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a Branch for the Template Url #201

Open
jayesbe opened this issue Oct 15, 2017 · 1 comment
Open

Use a Branch for the Template Url #201

jayesbe opened this issue Oct 15, 2017 · 1 comment

Comments

@jayesbe
Copy link

jayesbe commented Oct 15, 2017

Hey Guys.. hopefully a quick question.. is it possible to use a branch for the template url?

I am passing it a GitHub repo.. but dont want it to pull the template from the master branch.

@mnapoli
Copy link
Member

mnapoli commented Oct 15, 2017

Hi @jayesbe, no unfortunately at the moment it is not possible. Only a simple clone is performed when the template is fetched:

private function fetchGitTemplate($gitUrl)
{
$this->logger->notice('Fetching template from {url}', ['url' => $gitUrl]);
$directory = $this->createTempDirectory('couscous_template_');
$this->git->cloneRepository($gitUrl, $directory);
return $directory;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants