MTN6/auto_push.sh
2025-04-07 08:48:07 +00:00

8 lines
137 B
Bash
Executable File

#!/bin/bash
while inotifywait -r -e modify,create,delete .; do
git add .
git commit -m "Auto-commit on file change"
git push
done