2018-11-04 06:06:09 +08:00
|
|
|
## Ignore Umbraco files/folders generated for each instance
|
|
|
|
##
|
2021-12-12 08:25:18 +08:00
|
|
|
## Get latest from https://github.com/github/gitignore/blob/main/Umbraco.gitignore
|
2018-11-04 06:06:09 +08:00
|
|
|
|
2015-08-28 16:44:04 +08:00
|
|
|
# Note: VisualStudio gitignore rules may also be relevant
|
|
|
|
|
2017-03-15 20:30:00 +08:00
|
|
|
# Umbraco
|
2015-08-28 16:44:04 +08:00
|
|
|
# Ignore unimportant folders generated by Umbraco
|
|
|
|
**/App_Data/Logs/
|
|
|
|
**/App_Data/[Pp]review/
|
|
|
|
**/App_Data/TEMP/
|
2017-03-15 20:30:00 +08:00
|
|
|
**/App_Data/NuGetBackup/
|
2015-08-28 16:44:04 +08:00
|
|
|
|
|
|
|
# Ignore Umbraco content cache file
|
|
|
|
**/App_Data/umbraco.config
|
|
|
|
|
2021-08-22 08:06:14 +08:00
|
|
|
## this [Uu]mbraco/ folder should be created by cmd like `Install-Package UmbracoCms -Version 8.5.3`
|
2021-05-30 08:11:22 +08:00
|
|
|
## you can find your Umbraco version in your Web.config. (i.e. <add key="Umbraco.Core.ConfigurationStatus" value="8.5.3" />)
|
2020-09-03 00:57:08 +08:00
|
|
|
## Uncomment this line if you think it fits the way you work on your project.
|
2021-08-22 08:06:14 +08:00
|
|
|
## **/[Uu]mbraco/
|
2020-09-03 00:57:08 +08:00
|
|
|
|
2021-12-12 08:25:18 +08: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 16:44:04 +08: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-04 06:06:09 +08:00
|
|
|
!**/App_Data/[Pp]ackages/*
|
|
|
|
!**/[Uu]mbraco/[Dd]eveloper/[Pp]ackages/*
|
2020-09-03 00:57:08 +08:00
|
|
|
!**/[Uu]mbraco/[Vv]iews/[Pp]ackages/*
|
2017-03-15 20:30:00 +08:00
|
|
|
|
2018-11-04 06:06:09 +08:00
|
|
|
# ImageProcessor DiskCache
|
2017-03-15 20:30:00 +08:00
|
|
|
**/App_Data/cache/
|
2018-11-04 06:06:09 +08:00
|
|
|
|
|
|
|
# Ignore the Models Builder models out of date flag
|
2021-05-30 08:11:22 +08:00
|
|
|
**/ood.flag
|
2022-01-02 08:28:42 +08: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
|