Last active
December 31, 2015 19:52
-
-
Save Merovex/a31c9378a96c71338b33 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# 0 */2 * * * /path/to/gitAutoPush.sh >> /path/to/auto-push.log 2>&1 | |
DATE=`date -u` | |
echo "==== $DATE ====" | |
cd /path/to/project.scriv/ | |
git add . -A | |
git commit -am "Automated Snapshot - $DATE"; | |
git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment