title: How to make Git automatically ignore certain files when I'm staging changes?
body: <p>I have a folder in my Git directory that stores information about when my program runs and I don't want this information to keep getting added to the repo.</p>
  
  <p>Currently I just avoid selecting files from this folder in the git gui. This can be very cumbersome however as there are often a lot of them. What is the best way to do this either using the gui or the command line?</p>