Gitの動作確認とかがうまく行っているかテストするため用。良く忘れてしまうので独立。
乱数をファイルに書いて追加、コミット、プッシュ。
sh -c 'echo $RANDOM > random.txt; git add -A; git commit -m "test commit"; git push --all'
git-add-all-git-commit-git-push-allを使った場合。
echo $RANDOM > random.txt; ga -m "test commit"
git add --all; git commit -m 'first commit'; git push --all を打つのに疲れたので関数化した
http://qiita.com/yousan/items/b820373d4d2ac1e691a7
元ネタ
サーバの/etcを自動的にgitとかにコミットプッシュしてくれるetckeeperを使う
http://qiita.com/yousan/items/91dfc187f8345d299068