From 2ea403f6d20c184f3bc351f02b1dc7c4ca35e525 Mon Sep 17 00:00:00 2001 From: Martyn Date: Sat, 15 Mar 2025 15:21:48 +0000 Subject: [PATCH] Automatic commit of config from 2025-03-15 --- autocommit.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 autocommit.sh diff --git a/autocommit.sh b/autocommit.sh new file mode 100755 index 0000000..fcb146e --- /dev/null +++ b/autocommit.sh @@ -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