Answers.Body: <p>No, you would not check these files into Git.</p>
  
  <p>I have a <code>.gitignore</code> rule to just ignore everything in <code>storage/</code> and so I treat it as a cache directory.</p>
  
  <p>Which it is... except for the unfortunate fact that any rebrand (logo, icon) files are stored in <code>storage/</code> as well. But I just manually add them in via <code>git add -f</code></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-06T14:54:23.017Z
Answers.Text: Thanks, Andrew. At some point a `.gitkeep` file appeared in storage/config-deltas/ without any documentation of whether only the folder was necessary or the file. I'll gitignore `delta.yaml` — thanks for your help!
Answers.UserDisplayName: maxfenton
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-04T10:28:25.880Z
Answers.Text: Can I just delete all delta files in storage/config-deltas in my development environment?
  Are the delta files just temporary to speed things up? Or are they needed to build up the project config?
Answers.UserDisplayName: Jeroen
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-05T13:26:37.047Z
Answers.LastActivityDate: 2020-02-05T13:26:37.047Z
Answers.UserDisplayName: andrew.welch
Answers.Body: <p>Just stick with the <code>.gitignore</code> of Craft.</p>
  <p><a href="https://github.com/craftcms/craft/blob/main/storage/.gitignore" rel="nofollow noreferrer">https://github.com/craftcms/craft/blob/main/storage/.gitignore</a></p>
  <p>I assume it's better to commit the folder, as <code>config-deltas</code> is not in the official <code>.gitignore</code>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-25T11:20:59.107Z
Answers.LastActivityDate: 2021-05-25T11:20:59.107Z
Answers.UserDisplayName: Mario
Body: <p>Getting started with CraftCMS 3.1's <a href="https://docs.craftcms.com/v3/project-config.html" rel="nofollow noreferrer">project config files</a> and I can't find any documentation about whether <code>storage/config-deltas/delta.yaml</code> should be committed to git</p>
  
Tags: <projectconfig><git><project.yaml>
Title: Should delta.yaml be committed to git?
ThreadText: # Should delta.yaml be committed to git?
  
  (Asked by: username_0 on 2020-01-31)
  
  Getting started with CraftCMS 3.1's [project config files](https://docs.craftcms.com/v3/project-config.html) and I can't find any documentation about whether `storage/config-deltas/delta.yaml` should be committed to git
  
  **Tags:** projectconfig, git, project.yaml
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2020-02-05. Score: 2
  
  No, you would not check these files into Git.
  
  I have a `.gitignore` rule to just ignore everything in `storage/` and so I treat it as a cache directory.
  
  Which it is... except for the unfortunate fact that any rebrand (logo, icon) files are stored in `storage/` as well. But I just manually add them in via `git add -f`
  
  > **Comments:**
  > **username_0**: Thanks, Andrew. At some point a `.gitkeep` file appeared in storage/config-deltas/ without any documentation of whether only the folder was necessary or the file. I'll gitignore `delta.yaml` — thanks for your help!  
  > **username_2**: Can I just delete all delta files in storage/config-deltas in my development environment? Are the delta files just temporary to speed things up? Or are they needed to build up the project config?  
  
  ---
  
  ### Answer by username_3 on 2021-05-25. Score: 1
  
  Just stick with the `.gitignore` of Craft.
  
  <https://github.com/craftcms/craft/blob/main/storage/.gitignore>
  
  I assume it's better to commit the folder, as `config-deltas` is not in the official `.gitignore`.
  
  
  ---
  
  