Open lukavdplas opened 1 year ago
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"?
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.
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.