Files
garden/autopush.sh
T
2022-05-26 16:29:41 +02:00

14 lines
230 B
Bash
Executable File

#!/bin/bash
# runs a useful loop.
git config pull.rebase false
cd ~/garden
while true; do
git add *md
git add journal/*md
git add assets/*
git commit -a -m 'autopushed'
git pull
git push
sleep 30
done