-
-
Save mahdi/1119793 to your computer and use it in GitHub Desktop.
#Junk Files | |
*.DS_Store | |
[Tt]humbs.db | |
#Visual Studio Files | |
[Oo]bj | |
[Bb]in | |
[Dd]ebug | |
[Bb]uild/ | |
*.user | |
*.suo | |
*.exe | |
*.pdb | |
*.aps | |
*_i.c | |
*_p.c | |
*.ncb | |
*.tlb | |
*.tlh | |
*.[Cc]ache | |
*.bak | |
*.ncb | |
*.ilk | |
*.log | |
*.lib | |
*.sbr | |
*.sdf | |
ipch/ | |
*.dbmdl | |
*.csproj.user | |
*.cache | |
*.swp | |
*.vspscc | |
*.vssscc | |
*.bak.* | |
*.bak | |
#Tools | |
_ReSharper.* | |
_ReSharper*/ | |
*.resharper | |
*.resharper.user | |
[Nn][Dd]epend[Oo]ut*/ | |
Ankh.NoLoad | |
#Other | |
.svn | |
# Include DLLs if they're in the NuGet packages directory | |
!/packages/*/lib/*.dll | |
!/packages/*/lib/*/*.dll |
Ok, but that file does no harm for those who do not have Resharper so I think it's perfectly fine to keep it in.
Maybe, but in my own experience, those team members who don't use ReSharper prefer to have a clean code directory without any extra files! Anyway, thank you for your feedback :-)
This is a very nice .gitignore file. I have been using the one I outlined here: https://gist.github.com/1024746
Main differences are in the following sections:
- packages
- logs and databases
- pro power tools
- include of Nuget packages, as we like to have them in the repository.
@paigecook: Yours seems much more complete :-)
thanks
*.dbmdl is in ignore list but vs2010 and git extesion still show it and not ignoring
!/packages//lib/.dll doesn't seem to work.
Other or (Git)
*.patch
XamarinStudio(MonoDevelop) user prefs
*.userprefs
if you are working on visual studio 2019 , dont forget add . in my case im developing using .net core
.vs/
Cool, very helpful. Copied it.
Can we also add .vscode files to gitignore? I think it won't be able to run the project when cloned but I guess vscode gives us an option to add assets to run/debug the program wherever it doesn't find one.
I have put *.resharper because some people in your team may not use ReSharper. In my own case we have some guys without ReSharper installed on their machines.