Skip to content

Commit 8e9ee89

Browse files
[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 🙂
1 parent c1aaea5 commit 8e9ee89

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.gitignore

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,12 @@ Temporary Items
5858
modules
5959
!modules/default
6060

61-
# Ignore changes to the custom css files but keep others.
62-
css/custom.css
61+
# Ignore changes to the custom css files but keep the sample and main.
62+
/css/*
63+
!/css/custom.css.sample
64+
!/css/font-awesome.css
65+
!/css/main.css
66+
!/css/roboto.css
6367

6468
# Ignore users config file but keep the sample.
6569
config

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ planned for 2026-01-01
1919

2020
### Removed
2121

22-
- [weather] Removed deprecated ukmetoffice datapoint provider (#3842, #3952)
22+
- [weather] Removed deprecated `ukmetoffice` datapoint provider (#3842, #3952)
2323

2424
### Changed
2525

0 commit comments

Comments
 (0)