title: Deploying a Git subdirectory in Capistrano
body: <p>My master branch layout is like this:</p>
  
  <p><strong>/</strong> &lt;-- top level</p>
  
  <p><strong>/client</strong> &lt;-- desktop client source files</p>
  
  <p><strong>/server</strong> &lt;-- Rails app</p>
  
  <p>What I'd like to do is only pull down the /server directory in my <code>deploy.rb</code>, but I can't seem to find any way to do that. The /client directory is huge, so setting up a hook to copy /server to / won't work very well, it needs to only pull down the Rails app.</p>