config files on 28-11-2023 12:46:43
This commit is contained in:
12
config_backup.sh
Executable file
12
config_backup.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
# Go to /config folder or
|
||||
# Change this to your Home Assistant config folder if it is different
|
||||
cd /config
|
||||
|
||||
# Add all files to the repository with respect to .gitignore rules
|
||||
git add .
|
||||
|
||||
# Commit changes with message with current date stamp
|
||||
git commit -m "config files on `date +'%d-%m-%Y %H:%M:%S'`"
|
||||
|
||||
# Push changes towards GitHub
|
||||
git push -u origin master
|
||||
Reference in New Issue
Block a user