title: How to ignore ./a.out files in git?
body: <p>I tried this config </p>
  
  <pre><code>*
  !.gitignore
  !*.c
  !*/
  </code></pre>
  
  <p>My folder structure looks like :-</p>
  
  <pre><code>cprograms
  -program1
   -program1.c
   -a.out
  -program2
   -program2.c
   -a.out
  </code></pre>
  
  <p>How to get ignore the ./a.out file.</p>