8 lines
149 B
Bash
Executable File
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
|
|
|