kparnell/base12-server — comment on commit 0a76ceed72ed005f18669bb0af69a582b03d991f
File:  line 0
By jroes:

Doing a `git clone` here is probably not ideal. As a user, you end up with the entire git history of the base12 project.

The alternatives are kind of a pain though:

- You can use `git archive` to get a gzipped version of the repo without the .git dirs. This sucks because you really want it uncompressed, so you essentially need to pipe it back to unzip.
- You can use `git checkout-index`, but that's only for the current repo, so that's pretty much out

It looks like the way Rails does this right now is with a templates directory and a script. https://github.com/rails/rails/tree/master/railties/lib/rails/generators/rails/app