I want to have a repository with the code base I will be using for most of my projects, but I'm not sure on how to deal with this.
All I can think of is to just clone it when I start a new project, and then remove the .git or .hg folder (and create it again for the versioning of the new project)
Is there a better way? Maybe something with submodules? The problem is that these files I need can't be in a separate folder, they are the core of the application, for example a Rails instance.
Is there a recommended way for doing this?