8 lines
152 B
Bash
Executable File
8 lines
152 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
cd /var/log
|
|
find . -iname \*.log | xargs git add
|
|
git commit --all --message "daily autocommit"
|
|
git push --force origin master:logs
|