gitのcommitをスクリプト バッチ化

gitのcommitをスクリプト バッチ化

バッチ処理のログをgitで管理したいのでgit add . から commit push までをスクリプト化しました。

#!/bin/sh
git status
git add .
git commit -m "定期ログ"
git push origin master

これだけの記事でした。

Comments

No comments yet. Why don’t you start the discussion?

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です