title: How to "git add" specified type of files?
body: <p>Usually we add new files like below:</p>
  
  <pre><code>git add .
  </code></pre>
  
  <p>That will add all files. But I'd like to add only the specified type of files, e.g. *.c, *.cpp, *.h...
  So I will do it like this:</p>
  
  <pre><code>git add "*.c"
  git add "*.h"
  git add "*.cpp"
  </code></pre>
  
  <p>But this seems not convenient, do you have better solution?</p>