Config files, Github, workflow

I’ve setup a repository on Github to share my config files and to have version control. I use VS Code for editing. My HA runs on an Ubuntu server, I have made a smb share where my config files are.

What is good practice ? Create the repository in the config dir or in a local dir and the after editing copy the files to server ?

Take a look at this thread.

1 Like

I have a test HA installation in a VM on my PC.

After developing and testing, I push the configuration to a private offsite git hub, and then pull it to my working PI, also using git.

I could use git to pull directly from the VM to the Pi, but its nice having an offsite backup.

1 Like