title: Ignoring .gitignore when running git archive
body: <p>I have a git repo with a bunch of source code, and when that compiles a bunch of binaries are produced. The binaries are all listed in appropriate .gitignore files, and not included in the repo.</p>
  
  <p>However, I would like to distribute a source+binaries snapshot zipfile of my repo that contains all the binaries, but not things like the .git/ directory.</p>
  
  <p>It would seem like the natural way to create a snapshot zipfile would be </p>
  
  <pre><code>git archive -o archive.zip 
  </code></pre>
  
  <p>But that doesn't include any of the binaries which are in .gitignore.</p>
  
  <p>Ideas on how I can accomplish this with git archive? (My work-around is to manually create a zip archive that includes everything other than the .git/ directory)</p>