-
Notifications
You must be signed in to change notification settings - Fork 5
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
One template per branch #4
Comments
If we ask users to fork the template repo, it will come with all included branches and then they'll be able to select the one they want to work off of by e.g. cloning only the desired branch. I'm not sure if the extra (potential) user confusion is worth the de-cluttering, IMHO. But definitely something to discuss ! |
thx for feedback @emdupre Yes, we need anyway to work on the templates. For now we have one template for python: https://github.com/neurolibre/template.
|
Ah, thanks for clarifying ! From my read of the GitHub template docs, the behavior around branches is really to pull all branches or just the default one, with the UX encouraging the latter behavior. So, if we wanted the user to pull from a specific, non-default branch, they'd need to first select "Include all branches" (e.g. here) and then follow the usual git checkout workflow. |
Each branch can contain one template example.
This helps centralize all templates in one place. Not sure to what extent it is possible to create a new repo based on template branches, or if it takes just the main branch.
The text was updated successfully, but these errors were encountered: