title: How to exclude files from git commit?
body: <p>I am working with a bunch of files but would not like to commit some of them.</p>
  
  <p>Rather than commit each file individually is there a way I can exclude the files I do not want to commit?</p>
  
  <p>From reading similar questions on SO, I've tried various instances of <code>git stash</code> but have not been able to get them to work, eg:</p>
  
  <pre><code>git stash file.ext
  git stash -- file.ext
  git stash push "file.ext"
  git stash push -- file.ext
  </code></pre>
  
  <p>Would anyone know how I could do this?</p>