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:
Klaas Schoute 2018-11-15 22:13:54 +01:00 committed by Franck Nijhof
parent 78c11cf7bf
commit 29861c483b

View File

@ -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