danielperna84 / hass-configurator

Configuration UI for Home Assistant
MIT License
306 stars 168 forks source link

add files to .gitignore #204

Closed jmgiaever closed 3 years ago

jmgiaever commented 3 years ago

Screenshot from 2020-09-16 00-48-04

it would be neat if there's an option to add files to the «git ignore», e.g the secret.yaml file. I would love to share my HA config :)

danielperna84 commented 3 years ago

You should be able to open the .gitignore file using the configurator and add any files you want that way. That's what the configurator is made for. The other git-related options are just there because that can't be done just by manipulating text files.

jmgiaever commented 3 years ago
  1. Seems like HC is hiding dot-files by default?
  2. Hide dot-files is preferred through the web UI

My intention of using the configurator is to avoid logging in through SSH to do edits.

danielperna84 commented 3 years ago

There are the options IGNORE_PATTERN and HIDEHIDDEN. If you adjust those correctly it's easy to modify the gitignore-file. No need to use SSH. 🤷‍♂️