title: How do I excluded folder from sam deploy command?
body: <p>I run this to deploy my lambda:</p>
  
  <pre><code>sam package --template-file prod_template.yaml --s3-bucket mybucket --output-template-file packaged-template.yaml
  sam deploy --template-file packaged-template.yaml --stack-name mystack --capabilities CAPABILITY_IAM
  </code></pre>
  
  <p>That works but this code is version controlled and sam is also uploading the .git folder. How do I have sam ignore some folders like I can with gitignore?</p>