[gitignore] restoring the old Git behavior for the CSS directory (#3954)

The advantage of the old behavior is that users can keep backups, copies
or any other CSS files with different names in the directory without Git
interfering.

I suspect that this was not taken into account during the cleanup in PR
#3952 🙂
This commit is contained in:
Kristjan ESPERANTO
2025-11-08 20:25:47 +01:00
committed by GitHub
parent c1aaea5913
commit 8e9ee8953a
2 changed files with 7 additions and 3 deletions

8
.gitignore vendored
View File

@@ -58,8 +58,12 @@ Temporary Items
modules modules
!modules/default !modules/default
# Ignore changes to the custom css files but keep others. # Ignore changes to the custom css files but keep the sample and main.
css/custom.css /css/*
!/css/custom.css.sample
!/css/font-awesome.css
!/css/main.css
!/css/roboto.css
# Ignore users config file but keep the sample. # Ignore users config file but keep the sample.
config config

View File

@@ -19,7 +19,7 @@ planned for 2026-01-01
### Removed ### Removed
- [weather] Removed deprecated ukmetoffice datapoint provider (#3842, #3952) - [weather] Removed deprecated `ukmetoffice` datapoint provider (#3842, #3952)
### Changed ### Changed