Umbraco.gitignore 1.4 KB
Newer Older
S
Søren Gregersen 已提交
1 2 3 4
## Ignore Umbraco files/folders generated for each instance
##
## Get latest from https://github.com/github/gitignore/blob/master/Umbraco.gitignore

C
Carl Suster 已提交
5
# Note: VisualStudio gitignore rules may also be relevant
B
Ben Bodenmiller 已提交
6

J
James Jackson-South 已提交
7
# Umbraco
B
Ben Bodenmiller 已提交
8 9 10 11
# Ignore unimportant folders generated by Umbraco
**/App_Data/Logs/
**/App_Data/[Pp]review/
**/App_Data/TEMP/
J
James Jackson-South 已提交
12
**/App_Data/NuGetBackup/
D
Dan Lister 已提交
13 14

# Ignore Umbraco content cache file
B
Ben Bodenmiller 已提交
15
**/App_Data/umbraco.config
16

B
bakkiung 已提交
17
## this [Uu]mbraco/ folder should be created by cmd like `Install-Package UmbracoCms -Version 8.5.3` 
18
## you can find your Umbraco version in your Web.config. (i.e. <add key="Umbraco.Core.ConfigurationStatus" value="8.5.3" />)
B
bakkiung 已提交
19 20 21
## Uncomment this line if you think it fits the way you work on your project.
## **/[Uu]mbraco/ 

22 23
# Don't ignore Umbraco packages (VisualStudio.gitignore mistakes this for a NuGet packages folder)
# Make sure to include details from VisualStudio.gitignore BEFORE this
24 25
!**/App_Data/[Pp]ackages/*
!**/[Uu]mbraco/[Dd]eveloper/[Pp]ackages/*
26
!**/[Uu]mbraco/[Vv]iews/[Pp]ackages/*
J
James Jackson-South 已提交
27

J
John Vandenberg 已提交
28
# ImageProcessor DiskCache
J
James Jackson-South 已提交
29
**/App_Data/cache/
30 31

# Ignore the Models Builder models out of date flag
32
**/ood.flag
33 34

# NEW for version 9 .Net 5 (Core)
D
Dirk Seefeld 已提交
35 36 37 38 39 40 41
#ignore umbraco backoffice assest from wwwroot
**/wwwroot/umbraco/

#ignore umbraco data/views/settings
**/umbraco/

#include default location for modelsbuilder output
D
Dirk Seefeld 已提交
42 43 44 45
!**/umbraco/models

#include default location for packages
!**/umbraco/Data/packages