Resolving a Merge Conflict — The project manager
Situation
場面- Where
- On the team chat
- Who
- You and the project manager
- Goal
- To resolve a merge conflict together.
Conversation
会話A
ダッシュボードのブランチでコンフリクトが起きてしまいました。
だっしゅぼーどのぶらんちでこんふりくとがおきてしまいました。
dasshuboodonoburanchidekonfurikutogaokiteshimaimashita.
A conflict came up on the the dashboard branch.
B
どのファイルですか。一緒に見てみましょう。
どのふぁいるですか。いっしょにみてみましょう。
donofairudesuka. isshonimitemimashou.
Which file? Let's look together.
A
両方の変更を残したいのですが、どうすればいいですか。
りょうほうのへんこうをのこしたいのですが、どうすればいいですか。
ryouhounohenkouonokoshitainodesuga, dousurebaiidesuka.
I want to keep both changes — how should I do it?
B
手元で両方を取り込んで、動作確認してからコミットしましょう。
てもとでりょうほうをとりこんで、どうさかくにんしてからこみっとしましょう。
temotoderyouhouotorikonde, dousakakuninshitekarakomittoshimashou.
Merge both locally, verify it works, then commit.
A
分かりました。やってみます。
わかりました。やってみます。
wakarimashita. yattemimasu.
Got it. I'll try.
Vocabulary
単語ブランチぶらんち
buranchi
branch
A line of development in Git.
コンフリクトこんふりくと
konfurikuto
conflict
Conflicting changes during a merge.
取り込むとりこむ
torikomu
to pull in / merge
両方を取り込む.
動作確認どうさかくにん
dousakakunin
operation check
Verify it still works.
コミットするこみっとする
komittosuru
to commit
Save changes to Git.
手元てもと
temoto
locally / at hand
手元で = "on my machine."
Grammar
文法〜てしまいました
Verb te-form + しまいました
Regret over a result: 起きてしまいました.
〜てから
Verb te-form + から
After: 確認してからコミット.
Cultural Notes
文化メモVerify before commit
Always check it works after resolving a conflict.
Pair on tricky merges
Asking to look together is normal, not a weakness.
Quiz
クイズ1. 「ブランチ」の意味は?
What does "ブランチ" mean?
2. 「コンフリクト」の意味は?
What does "コンフリクト" mean?
3. 「取り込む」の意味は?
What does "取り込む" mean?
4. 「動作確認」の意味は?
What does "動作確認" mean?
5. 「コミットする」の意味は?
What does "コミットする" mean?
6. 「手元」の意味は?
What does "手元" mean?