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

8 lines
149 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 origin main
done