Thursday, August 2, 2012

My new gitignore file for C# projects

I have updated my old gitignore file. The following is my new git ignore (.gitignore) file for C# projects. I use both VisualStudio and MonoDevelop as IDE's, NUnit for unit testing and also vim for quick view/edit ;)
# Build and Object Folders
bin/
Bin/
obj/
Obj/

# User Specific Files
*.user
*.suo
*.userprefs
*.pidb


# Resource Caches
_ReSharper.*
*.cache

# Nuget
packages

# Vim
*~
*.swp

# Unit tests
TestResults
test-results

# Upgrade Report Files
_UpgradeReport_Files/

# Nuget
packages/**
!packages/repositories.config

# Logs
*.log
You can always find the up-to-date version of this file in my GitHub repository: dotfiles