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

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