トップ 差分 一覧 ソース 検索 ヘルプ RSS ログイン

cmd-patch

 PATCH

当て方

$ patch [-u(または -c)] [適用するファイル名] < パッチファイル名

$ patch -u < test.patch

patching file test_before.tx

作り方

$ diff -u(または -c) 変更前のファイル 変更後のファイル > パッチファイル名

http://d.hatena.ne.jp/mrgoofy33/20101019/1287500809