A .NET (C#) Developer’s .gitignore File


As a recent convert to the awesomeness that is git (my current flavor is msysgit), I find myself continuously needing to update the .gitignore file that I copy and paste between my repositories. Here’s what my ignore file currently contains:

obj
<p>
  <!--CRLF-->
</p>

<pre>bin</pre>

<p>
  <!--CRLF-->
</p>

<pre>deploy</pre>

<p>
  <!--CRLF-->
</p>

<pre>deploy/*</pre>

<p>
  <!--CRLF-->
</p>

<pre>_ReSharper.*</pre>

<p>
  <!--CRLF-->
</p>

<pre>*.csproj.user</pre>

<p>
  <!--CRLF-->
</p>

<pre>*.resharper.user</pre>

<p>
  <!--CRLF-->
</p>

<pre>*.resharper</pre>

<p>
  <!--CRLF-->
</p>

<pre>*.suo</pre>

<p>
  <!--CRLF-->
</p>

<pre>*.cache</pre>

<p>
  <!--CRLF-->
</p>

<pre>~$*</pre>

<p>
  <!--CRLF--></div> </div> 
  
  <p>
    The “~$*” line is for MS Office temp files. Other than that, it’s a pretty common list of files and folders that .NET (C#) developers would want to ignore in the git repositories.
  </p>
  
  <p>
    What does your .gitignore file look like? What am I missing from mine?
  </p>