Automatic commit of config from 2025-03-15

This commit is contained in:
Martyn 2025-03-15 15:21:48 +00:00
parent 40f288741e
commit 2ea403f6d2

10
autocommit.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash
#cd $HOME/printer_data/config
if [ -n "$(git status --porcelain)" ]; then
git add .
git commit -m "Automatic commit of config from $(date -I)"
git push
else
Nothing new to save to git
fi