title: Using .gitignore to not commit bin, debug and config folders
body: <p>I’m using git in my ASP.NET MVC project.</p>
  
  <p>I want no files from <code>debug</code>, <code>bin</code> or <code>config</code> folder to show in the “Pending Chages” dialog so I will not have to commit them to my repository.</p>
  
  <p>These files are machine specific specially the config folder.</p>
  
  <p>I tried to add the following to <code>.gitignore</code>:</p>
  
  <pre><code>myproject\bin**
  myproject\obj**
  myproject\config\**
  </code></pre>
  
  <p>This did not work because all files under all three folders are still displayed after each build or config changes.</p>
  
  <p>What am I doing wrong?</p>