Created
May 10, 2017 21:35
-
-
Save apphutdev/f110e218c6604285309473150415a9a9 to your computer and use it in GitHub Desktop.
Example of gitignore file to share on Our Umbraco
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/ | |
build/ | |
[Oo]bj/ | |
# MSTest test Results | |
[Tt]est[Rr]esult*/ | |
[Bb]uild[Ll]og.* | |
*_i.c | |
*_p.c | |
*.ilk | |
*.meta | |
*.obj | |
*.pch | |
*.pdb | |
*.pgc | |
*.pgd | |
*.rsp | |
*.sbr | |
*.tlb | |
*.tli | |
*.tlh | |
*.tmp | |
*.tmp_proj | |
*.log | |
*.vspscc | |
*.vssscc | |
.builds | |
*.pidb | |
*.log | |
*.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 | |
# TeamCity is a build add-in | |
_TeamCity* | |
# DotCover is a Code Coverage Tool | |
*.dotCover | |
# NCrunch | |
*.ncrunch* | |
.*crunch*.local.xml | |
# Installshield output folder | |
[Ee]xpress/ | |
# DocProject is a documentation generator add-in | |
DocProject/buildhelp/ | |
DocProject/Help/*.HxT | |
DocProject/Help/*.HxC | |
DocProject/Help/*.hhc | |
DocProject/Help/*.hhk | |
DocProject/Help/*.hhp | |
DocProject/Help/Html2 | |
DocProject/Help/html | |
# Click-Once directory | |
publish/ | |
# Publish Web Output | |
*.Publish.xml | |
# NuGet Packages Directory | |
packages/ | |
!ProjectName.Site/App_Data/packages | |
!ProjectName.Site/Umbraco/Developer/Packages | |
# Windows Azure Build Output | |
csx | |
*.build.csdef | |
# Windows Store app package directory | |
AppPackages/ | |
# Others | |
sql/ | |
*.Cache | |
ClientBin/ | |
[Ss]tyle[Cc]op.* | |
~$* | |
*~ | |
*.dbmdl | |
*.[Pp]ublish.xml | |
*.pfx | |
*.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 | |
#LightSwitch generated files | |
GeneratedArtifacts/ | |
_Pvt_Extensions/ | |
ModelManifest.xml | |
# ========================= | |
# 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 | |
# ========================= | |
# Files in bin folders | |
# ========================= | |
ProjectName.Site/[Bb]in/* | |
# ========================= | |
# Value Converters | |
# ========================= | |
BuildPackage/artifacts/* | |
BuildPackage/Package/* | |
# ========================= | |
# Umbraco | |
# ========================= | |
ProjectName.Site/App_Data/umbraco.config | |
ProjectName.Site/App_Data/preview/*.config | |
ProjectName.Site/App_Data/TEMP/ClientDependency/ | |
ProjectName.Site/App_Data/TEMP/DistCache/ | |
ProjectName.Site/App_Data/TEMP/ExamineIndexes/ | |
ProjectName.Site/App_Data/TEMP/PluginCache/* | |
ProjectName.Site/App_Data/TEMP/SEOChecker/ | |
ProjectName.Site/App_Data/TEMP/Razor/ | |
ProjectName.Site/App_Data/umbraco.licensing.log.txt | |
ProjectName.Site/aspnet_client/ | |
ProjectName.Site/App_Data/*.udt | |
ProjectName.Site/App_Data/NuGetBackup/* | |
ProjectName.Site/App_Data/Logs/* | |
ProjectName.Site/Media/* | |
# ========================= | |
# ImageProcessor DiskCache | |
# ========================= | |
ProjectName.Site/App_Data/cache/* | |
# ========================= | |
#Grunt, Sass & Bower | |
# ========================= | |
**/node_modules | |
**/node_modules/* | |
**/.sass-cache | |
**/.sass-cache/* | |
**/bower_components | |
**/bower_components/* | |
ProjectName.Site/lib/* | |
ProjectName.Site/css/lib/* | |
ProjectName.Site/scripts/lib/* | |
ProjectName.Site/css/main.css | |
ProjectName.Site/css/main.css.map | |
ProjectName.Site/dist/ | |
# Ignore Umbraco content cache file | |
!**/App_Data/umbraco.config | |
!**/App_Data/umbraco.sdf | |
# Don't ignore Umbraco packages (VisualStudio.gitignore mistakes this for a NuGet packages folder) | |
# Make sure to include details from VisualStudio.gitignore BEFORE this | |
!**/App_Data/[Pp]ackages/ | |
!**/[Uu]mbraco/[Dd]eveloper/[Pp]ackages | |
# ImageProcessor DiskCache | |
**/App_Data/cache/ | |
ProjectName.Site/bin/* | |
!**/ProjectName.Site/bin/Umbraco.Web.PublishedContentModels.dll | |
Content/* | |
fonts/* | |
Scripts/* | |
Dist/* | |
.vs/* | |
/ProjectName.Site/App_Data/TEMP/* | |
/.cr/Settings.xml | |
/WebEssentials2015-Settings.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment