title: How can I deploy/push only a subdirectory of my git repo to Heroku?
body: <p>I have a project that uses <a href="http://get-serve.com">Serve</a> and is version controlled using Git. Serve creates an <code>output</code> folder with static files that I want to deploy to Heroku.</p>
  
  <p>I don't want to deploy the Serve project itself since the Heroku Cedar stack doesn't seem too fond of it, but most importantly I want to take advantage of Heroku's great support for static websites.</p>
  
  <p>Is there a way to deploy a subfolder to a git remote?
  Should I create a Git repo in the <code>output</code> folder (that sounds wrong) and push that to Heroku?</p>