mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Changed gitignore list (#7076)
* WIP: Changed gitignore file (again) * ✏️ Deleted my text, it makes no sense * ✏️ Adding storage and cloud folder * ✏️ Changed the gitignore list * ✏️ Improved after input from others
This commit is contained in:
parent
78c11cf7bf
commit
29861c483b
@ -57,16 +57,21 @@ Creating a `.gitignore` file in your repository will tell Git which files NOT to
|
|||||||
Here is an example that will ignore everything but your YAML configuration.
|
Here is an example that will ignore everything but your YAML configuration.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Example .gitignore file for your config dir. Lines with ! will not be ignored.
|
# Example .gitignore file for your config dir.
|
||||||
|
# A * ensures that everything will be ignored.
|
||||||
*
|
*
|
||||||
|
|
||||||
|
# You can whitelist files/folders with !, these will not be ignored.
|
||||||
!*.yaml
|
!*.yaml
|
||||||
!.gitignore
|
!.gitignore
|
||||||
*.conf
|
!*.md
|
||||||
*.txt
|
|
||||||
*.log
|
# Ignore folders.
|
||||||
.storage
|
.storage
|
||||||
.cloud
|
.cloud
|
||||||
.google.token
|
.google.token
|
||||||
|
|
||||||
|
# Ensure these YAML files are ignored, otherwise your secret data/credentials will leak.
|
||||||
ip_bans.yaml
|
ip_bans.yaml
|
||||||
secrets.yaml
|
secrets.yaml
|
||||||
known_devices.yaml
|
known_devices.yaml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user