mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-26 02:37:03 +00:00
Add warning about secrets
This commit is contained in:
parent
3739199150
commit
e28c876b97
@ -61,8 +61,13 @@ Here is an example that will include your `.gitignore` file, a `scenes` director
|
|||||||
!.gitignore
|
!.gitignore
|
||||||
secrets.yaml
|
secrets.yaml
|
||||||
known_devices.yaml
|
known_devices.yaml
|
||||||
|
.storage
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<p class='note'>
|
||||||
|
You might read this guide too late and accidentally already have your secrets published. It is not enough to just remove them with a new commit. Git is a version control system and keeps history. You need to delete your repository and start a new one. Also change all passwords and revoke the API keys that were public.
|
||||||
|
</p>
|
||||||
|
|
||||||
More information on the layout of the file can be found in the [.gitignore manual](https://git-scm.com/docs/gitignore).
|
More information on the layout of the file can be found in the [.gitignore manual](https://git-scm.com/docs/gitignore).
|
||||||
|
|
||||||
### {% linkable_title Step 3: Preparing your Home Assistant directory for GitHub %}
|
### {% linkable_title Step 3: Preparing your Home Assistant directory for GitHub %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user