Hello everyone!
I’m trying to understand how i can update the GitHub backup with the script like it’s write in the documentation
#!/bin/bash
cd /home/homeassistant/.homeassistant
source /srv/homeassistant/bin/activate
hass --script check_config
git add .
git status
echo -n "Enter the Description for the Change: " [Minor Update]
read CHANGE_MSG
git commit -m "${CHANGE_MSG}"
git push origin master
exit
It’s says i have to create a script called : gitupdate.sh
but i don’t where i have to put the file and how i can trigger it ?
maybe someone can help me to understand this ?
Thanks in advance for your time