mekell
(me-kell)
1
When passing a url to cookiecutter
we get the "main" branch.
How can we get a given tag instead of the main branch, e.g. "1.0.0b1"?
cookiecutter -f --no-input \
--config-file myconfig.yaml \
https://github.com/plone/cookiecutter-zope-instance
mamico
(Mauro Amico)
2
mekell
(me-kell)
3
@mamico: Thanks! --checkout
was it:
cookiecutter -f --no-input \
--config-file myconfig.yaml \
--checkout 1.0.0b1 \
https://github.com/plone/cookiecutter-zope-instance
jensens
(Jens W. Klein)
4
By the way, Cookiecutter has a handy Github shortcut too: gh:plone/cookiecutter-zope-instance
.
mekell
(me-kell)
5
@jensens: Thanks for this info.