Heroku requires specific git directory layout - how can I work around that?
<p>I have a Node.js project that I like to upload to the <a href="http://www.heroku.com" rel="nofollow">Heroku</a> service. To upload it, it requires me to use a git repository, so that it can push my files to its git server.</p>

<p>Heroku expects to find a <code>package.json</code> file (used by Node.js) at the root of the git repository's directory tree.</p>

<p>Now, before I had started trying out Heroku, I had already created my own git repo, which start one parent dir further up. I intend to have not only this node.js project in my single git repo but other related projects as well. I like to avoid splitting up my repo into several separate ones just to make Heroku happy.</p>

<p>Here's my desired layout:</p>

<pre><code>main/
  nodejs-project/
    package.json
    ...
  artwork/
    ...
  docs/
    ...
</code></pre>

<p>I hope you get the idea - I want the entire <code>main</code> folder's hierarchy managed by a git repo, but heroku requires the <code>nodejs-project</code> subfolder to be its own git repo so that it can find the <code>package.json</code> file at its root.</p>

<p>What options to I have to solve this?</p>