code.gitea.io/gitea@v1.21.7/options/gitignore/Umbraco (about)

     1  ## Ignore Umbraco files/folders generated for each instance
     2  ##
     3  ## Get latest from https://github.com/github/gitignore/blob/main/Umbraco.gitignore
     4  
     5  # Note: VisualStudio gitignore rules may also be relevant
     6  
     7  # Umbraco
     8  # Ignore unimportant folders generated by Umbraco
     9  **/App_Data/Logs/
    10  **/App_Data/[Pp]review/
    11  **/App_Data/TEMP/
    12  **/App_Data/NuGetBackup/
    13  
    14  # Ignore Umbraco content cache file
    15  **/App_Data/umbraco.config
    16  
    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" />)
    19  ## Uncomment this line if you think it fits the way you work on your project.
    20  ## **/[Uu]mbraco/
    21  
    22  ## The [Mm]edia/ folder contains content. Content may vary by environment and should therefore not be added to source control.
    23  ## Uncomment this line if you think it fits the way you work on your project.
    24  ## **/[Mm]edia/ 
    25  
    26  # Don't ignore Umbraco packages (VisualStudio.gitignore mistakes this for a NuGet packages folder)
    27  # Make sure to include details from VisualStudio.gitignore BEFORE this
    28  !**/App_Data/[Pp]ackages/*
    29  !**/[Uu]mbraco/[Dd]eveloper/[Pp]ackages/*
    30  !**/[Uu]mbraco/[Vv]iews/[Pp]ackages/*
    31  
    32  # ImageProcessor DiskCache
    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)
    39  #ignore umbraco backoffice assest from wwwroot
    40  **/wwwroot/umbraco/
    41  
    42  # SQLite files
    43  *.sqlite.db*
    44  
    45  #ignore umbraco data/views/settings
    46  **/umbraco/
    47  
    48  #include default location for modelsbuilder output
    49  !**/umbraco/models
    50  
    51  #include default location for packages
    52  !**/umbraco/Data/packages