title: how to add all currently untracked files/folders to git ignore?
body: <p>I initialized the <code>git</code> repository and made a first commit.
  Now, in this directory I run <code>./configure</code> and <code>./make all</code> so that it populates a lot of extra files/folders don't want to track.</p>
  
  <p>What I would like to do, is to add all those untracked files once and for all to my gitignore. Is there any simple way to do it?</p>
  
  <p>I can get rid of some unnecessary files like <code>*.o</code> or <code>*.mod</code> by specifying appropriate lines in .gitignore, but this does not solve the problem.</p>