7 lines
144 B
Plaintext
7 lines
144 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
GIT_HOME=/var/log
|
||
|
find /var/log -iname \*.log | xargs git add
|
||
|
git commit -m "daily autocommit"
|
||
|
git push --force origin master:logs
|