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

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

G
GrpeApple 已提交
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
## Uncomment this line if you think it fits the way you work on your project.
G
GrpeApple 已提交
20
## **/[Uu]mbraco/
B
bakkiung 已提交
21

E
Erik-Jan Westendorp 已提交
22
## The [Mm]edia/ folder contains content. Content may vary by environment and should therefore not be added to source control.
23 24 25
## Uncomment this line if you think it fits the way you work on your project.
## **/[Mm]edia/ 

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

J
John Vandenberg 已提交
32
# ImageProcessor DiskCache
J
James Jackson-South 已提交
33
**/App_Data/cache/
34 35

# Ignore the Models Builder models out of date flag
36
**/ood.flag
37 38

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

C
Chriztian Steinmeier 已提交
42 43 44
# SQLite files
*.sqlite.db*

D
Dirk Seefeld 已提交
45 46 47 48
#ignore umbraco data/views/settings
**/umbraco/

#include default location for modelsbuilder output
D
Dirk Seefeld 已提交
49 50 51
!**/umbraco/models

#include default location for packages
C
Chriztian Steinmeier 已提交
52
!**/umbraco/Data/packages