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

Make git repo creation optional #37

Open
lukavdplas opened this issue Jan 9, 2023 · 2 comments
Open

Make git repo creation optional #37

lukavdplas opened this issue Jan 9, 2023 · 2 comments

Comments

@lukavdplas
Copy link
Contributor

Making a new git repository is not always relevant or desired - for example, if you are planning to build on an existing project, you probably want to add the source code to an existing repository. Perhaps this can be made optional?

That said, you also remove version info after running the script so this is not essential to any use case.

@jgonggrijp
Copy link
Contributor

Maybe the bootstrap script can detect an existing repository, and avoid creating a new one in that case?

What do you mean by "remove version info"?

@lukavdplas
Copy link
Contributor Author

That could be a nice solution!

Re. your question: I was thinking something along the lines of removing .git to get a "versionless" collection of source code, which you might then commit to an existing repository, for example. I'm not that familiar with git, but the intended result would be equivalent to skipping all the git command line statements in the cookiecutter script.

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