2018-11-03 23:06:09 +01:00
|
|
|
## Ignore Umbraco files/folders generated for each instance
|
|
|
|
##
|
2021-12-12 01:25:18 +01:00
|
|
|
## Get latest from https://github.com/github/gitignore/blob/main/Umbraco.gitignore
|
2018-11-03 23:06:09 +01:00
|
|
|
|
2015-08-28 10:44:04 +02:00
|
|
|
# Note: VisualStudio gitignore rules may also be relevant
|
|
|
|
|
2017-03-15 13:30:00 +01:00
|
|
|
# Umbraco
|
2015-08-28 10:44:04 +02:00
|
|
|
# Ignore unimportant folders generated by Umbraco
|
|
|
|
**/App_Data/Logs/
|
|
|
|
**/App_Data/[Pp]review/
|
|
|
|
**/App_Data/TEMP/
|
2017-03-15 13:30:00 +01:00
|
|
|
**/App_Data/NuGetBackup/
|
2015-08-28 10:44:04 +02:00
|
|
|
|
|
|
|
# Ignore Umbraco content cache file
|
|
|
|
**/App_Data/umbraco.config
|
|
|
|
|
2021-08-22 02:06:14 +02:00
|
|
|
## this [Uu]mbraco/ folder should be created by cmd like `Install-Package UmbracoCms -Version 8.5.3`
|
2021-05-30 02:11:22 +02:00
|
|
|
## you can find your Umbraco version in your Web.config. (i.e. <add key="Umbraco.Core.ConfigurationStatus" value="8.5.3" />)
|
2020-09-02 18:57:08 +02:00
|
|
|
## Uncomment this line if you think it fits the way you work on your project.
|
2021-08-22 02:06:14 +02:00
|
|
|
## **/[Uu]mbraco/
|
2020-09-02 18:57:08 +02:00
|
|
|
|
2021-12-12 01:25:18 +01:00
|
|
|
## The [Mm]edia/ folder contains content. Content may vary by environment and should therefore not be added to source control.
|
|
|
|
## Uncomment this line if you think it fits the way you work on your project.
|
|
|
|
## **/[Mm]edia/
|
|
|
|
|
2015-08-28 10:44:04 +02:00
|
|
|
# Don't ignore Umbraco packages (VisualStudio.gitignore mistakes this for a NuGet packages folder)
|
|
|
|
# Make sure to include details from VisualStudio.gitignore BEFORE this
|
2018-11-03 23:06:09 +01:00
|
|
|
!**/App_Data/[Pp]ackages/*
|
|
|
|
!**/[Uu]mbraco/[Dd]eveloper/[Pp]ackages/*
|
2020-09-02 18:57:08 +02:00
|
|
|
!**/[Uu]mbraco/[Vv]iews/[Pp]ackages/*
|
2017-03-15 13:30:00 +01:00
|
|
|
|
2018-11-03 23:06:09 +01:00
|
|
|
# ImageProcessor DiskCache
|
2017-03-15 13:30:00 +01:00
|
|
|
**/App_Data/cache/
|
2018-11-03 23:06:09 +01:00
|
|
|
|
|
|
|
# Ignore the Models Builder models out of date flag
|
2021-05-30 02:11:22 +02:00
|
|
|
**/ood.flag
|
2022-01-02 01:28:42 +01:00
|
|
|
|
|
|
|
# NEW for version 9 .Net 5 (Core)
|
|
|
|
#ignore umbraco backoffice assest from wwwroot
|
|
|
|
**/wwwroot/umbraco/
|
|
|
|
|
|
|
|
#ignore umbraco data/views/settings
|
|
|
|
**/umbraco/
|
|
|
|
|
|
|
|
#include default location for modelsbuilder output
|
|
|
|
!**/umbraco/models
|
|
|
|
|
|
|
|
#include default location for packages
|
|
|
|
!**/umbraco/Data/packages
|