Skip to content

Instantly share code, notes, and snippets.

@tobinharris
Created May 19, 2009 22:43
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save tobinharris/114476 to your computer and use it in GitHub Desktop.
Save tobinharris/114476 to your computer and use it in GitHub Desktop.
# .gitignore for .NET projects
# Thanks to Derick Bailey
# http://www.lostechies.com/blogs/derickbailey/archive/2009/05/18/a-net-c-developer-s-gitignore-file.aspx
# Additional Thanks to
# - Alexey Abramov
# Standard VS.NET and ReSharper Foo
obj
bin
*.csproj.user
*ReSharper*
*resharper*
*.suo
*.cache
* Thumbs.db
# Other useful stuff
*.bak
*.cache
*.log
*.swp
*.user
_compareTemp
_notes
aspnet_client
httpd.parse.errors
# Office Temp Files
~$*
# If you have a deploy folder
deploy
deploy/*
# Exclude ALL DLLs?
*.dll
# SVN Droppings
*.svn
.svn
@cnzzr
Copy link

cnzzr commented Aug 3, 2010

Very Good.
THKS

@prabirshrestha
Copy link

hi, looks good, even i had to create a separate project for it.
http://github.com/prabirshrestha/gitignore/blob/master/.gitignore

to make it easy i also create a bit.ly short url http://bit.ly/vs-gitignore

so once i do git init
i need to also download the latest gitignore file by

wget http://bit.ly/vs-gitignore

@sotto
Copy link

sotto commented Feb 17, 2011

might want to exclude .svn too

@tobinharris
Copy link
Author

Thanks @sotto!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment