Skip to content

[codex] Mergiraf導入とgm3/develop運用更新#2026

Draft
hikahana wants to merge 2 commits intogm3/developfrom
codex/chore/mergiraf-setup
Draft

[codex] Mergiraf導入とgm3/develop運用更新#2026
hikahana wants to merge 2 commits intogm3/developfrom
codex/chore/mergiraf-setup

Conversation

@hikahana
Copy link
Copy Markdown
Contributor

課題と解決策

  • 構文認識ベースでコンフリクトを解消できる Mergiraf を、このリポジトリで使える状態にする必要がありました。
  • あわせて、作業開始時に gm3/develop を最新化してからブランチを切る運用を明文化する必要がありました。

変更内容

  • ルートに .gitattributes を追加し、公式サポート済みかつこのリポジトリで利用している主要ファイル種別に merge=mergiraf を設定
  • docs/mergiraf.md を追加し、ローカルセットアップ手順、対象ファイル、手動解決手順、一時無効化方法を整理
  • AGENTS.mdgit checkout gm3/develop 後に git pull --ff-only origin gm3/develop を実行してから新規ブランチを切る運用を追加

影響

  • Mergiraf をローカルに設定済みの開発者は、対象ファイルの merge / rebase / cherry-pick / revert で構文認識マージを利用できます。
  • gm3/develop からのブランチ作成手順が明示され、古いベースから分岐するリスクを下げます。

検証結果

  • git diff --check
  • git check-attr merge linguist-language -- api/Gemfile api/Rakefile Makefile user/package.json user/src/app/page.tsx compose.yml docs/mergiraf.md

補足

  • 今回の変更は設定ファイルとドキュメントのみで、アプリケーションコードの挙動変更はありません。

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 19, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e8adb89e-6093-4d49-8873-6fdb846b7344

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/chore/mergiraf-setup

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant