scripts/bash/workflow_nextcloud/git_autocommit.sh
2023-02-06 13:28:35 +01:00

8 lines
150 B
Bash

#!/bin/bash
# auto commit periodically
# add this script in crontab
cd ~/Nextcloud/textes/orgmode
git add .
git commit -m "auto commit in $hostname"