Created
April 17, 2014 05:47
-
Star
(145)
You must be signed in to star a gist -
Fork
(56)
You must be signed in to fork a gist
-
-
Save takekazuomi/10955889 to your computer and use it in GitHub Desktop.
.gitignore for C#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Ignore Visual Studio temporary files, build results, and | |
## files generated by popular Visual Studio add-ons. | |
# User-specific files | |
*.suo | |
*.user | |
*.sln.docstates | |
# Build results | |
[Dd]ebug/ | |
[Rr]elease/ | |
x64/ | |
[Bb]in/ | |
[Oo]bj/ | |
# MSTest test Results | |
[Tt]est[Rr]esult*/ | |
[Bb]uild[Ll]og.* | |
*_i.c | |
*_p.c | |
*_i.h | |
*.ilk | |
*.meta | |
*.obj | |
*.pch | |
*.pdb | |
*.pgc | |
*.pgd | |
*.rsp | |
*.sbr | |
*.tlb | |
*.tli | |
*.tlh | |
*.tmp | |
*.tmp_proj | |
*.log | |
*.vspscc | |
*.vssscc | |
.builds | |
*.pidb | |
*.log | |
*.svclog | |
*.scc | |
# Visual C++ cache files | |
ipch/ | |
*.aps | |
*.ncb | |
*.opensdf | |
*.sdf | |
*.cachefile | |
# Visual Studio profiler | |
*.psess | |
*.vsp | |
*.vspx | |
# Guidance Automation Toolkit | |
*.gpState | |
# ReSharper is a .NET coding add-in | |
_ReSharper*/ | |
*.[Rr]e[Ss]harper | |
*.DotSettings.user | |
# Click-Once directory | |
publish/ | |
# Publish Web Output | |
*.Publish.xml | |
*.pubxml | |
*.azurePubxml | |
# NuGet Packages Directory | |
## TODO: If you have NuGet Package Restore enabled, uncomment the next line | |
packages/ | |
## TODO: If the tool you use requires repositories.config, also uncomment the next line | |
!packages/repositories.config | |
# Windows Azure Build Output | |
csx/ | |
*.build.csdef | |
# Windows Store app package directory | |
AppPackages/ | |
# Others | |
sql/ | |
*.Cache | |
ClientBin/ | |
[Ss]tyle[Cc]op.* | |
![Ss]tyle[Cc]op.targets | |
~$* | |
*~ | |
*.dbmdl | |
*.[Pp]ublish.xml | |
*.publishsettings | |
# RIA/Silverlight projects | |
Generated_Code/ | |
# Backup & report files from converting an old project file to a newer | |
# Visual Studio version. Backup files are not needed, because we have git ;-) | |
_UpgradeReport_Files/ | |
Backup*/ | |
UpgradeLog*.XML | |
UpgradeLog*.htm | |
# SQL Server files | |
App_Data/*.mdf | |
App_Data/*.ldf | |
# ========================= | |
# Windows detritus | |
# ========================= | |
# Windows image file caches | |
Thumbs.db | |
ehthumbs.db | |
# Folder config file | |
Desktop.ini | |
# Recycle Bin used on file shares | |
$RECYCLE.BIN/ | |
# Mac desktop service store files | |
.DS_Store | |
_NCrunch* |
Appreciate it
Thank you a lot, Sir.
For now, I recommend using dotnet new gitignore
. Standard and works well.
Por enquanto, recomendo usar
dotnet new gitignore
. Padrão e funciona bem.
Valeu pela dica, simples e eficaz!
Thanks
Thank you too!
Thank you for create super cool repo!
Great template, thanks
thanks a lot!
great template! can you add .idea/? it's not intellij idea, the .net ide jetbrains rider uses the same folder too.
also the .env
should be included
great template! can you add .idea/? it's not intellij idea, the .net ide jetbrains rider uses the same folder too.
@sctech-tr off topic, but 11/10 profile picture (I need some mayo fried chicken recipes)
Thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great, thanks! It blows my mind that GitHub still does not have it in their pulldown when creating a new repo.