====== ビルドスクリプトの修正手順 ======
* plamo.linet.gr.jp 上に松木さんが作った git リポジトリ上のビルドスクリプトやパッチを修正する手順
===== 準備 =====
- git を使う準備 (User/Email設定) git config --global user.email "your_email@example.com"
git config --global user.name "KATOH Yasufumi"
(もちろん自分の情報で)
- git clone する git clone karma(_at_)plamo.linet.gr.jp:/home/matsuki/work/Plamo-src.git
(karma のところは自分のアカウントで (_at_) は @ に)
- git send-email の設定 [sendemail]
from = KATOH Yasufumi
smtpserver = localhost
smtpserverport = 25
(Gmail を使った方法は http://d.hatena.ne.jp/unpush/20110216/1297869753 辺りに載ってる)
===== 修正 =====
- 修正用ブランチを作成 cd path_to_repository
git checkout -b Apache_2_4_6_Work
git branch
* Apache_2_4_6_Work
master
- 修正 (修正)
git add (変更ファイル)
git commit
===== パッチの作成 =====
* http://d.hatena.ne.jp/janus_wel/20090210/1234441680 このあたりが詳しい
- パッチファイルの作成 git format-patch -n -M origin/master -s -o ~/outgoing
(origin の master ブランチとの差分を outgoing ディレクトリに出力せよ)
- 確認 ls ~/outgoing/
0001-Update-to-httpd-2.4.6.patch
- メール送信 git send-email --annotate outgoing/0001-Update-to-httpd-2.4.6.patch
(--annotate で送るメールを確認.後は質問してくるので答える)