Skip to main content

merge-conflicts

Resolve an in-progress Git merge or rebase conflict without losing either change's intent. Use when Git reports unresolved conflict markers during a merge or rebase.

소스 정보

저장소
ContractorKeith/skills
최근 소스 활동
2026년 10월 6일 13:31
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
3 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
merge-conflicts
description
Resolve an in-progress Git merge or rebase conflict without losing either change's intent. Use when Git reports unresolved conflict markers during a merge or rebase.
license
MIT
metadata
{"author":"ContractorKeith","version":"1.0.0","domain":"engineering","scope":"integration","output-format":"resolved-conflicts","related-skills":"code-review, ship"}
# Merge Conflicts Resolve the conflict in front of you. Do not abort the merge or rebase. ## Read the situation Start with the repository state, history, and unresolved files. Use `git status`, inspect the conflict hunks, and identify whether Git is merging or rebasing. ## Recover both intents For each conflicted hunk, trace both sides to their primary sources: commits, commit messages, pull requests, and the issue or ticket that motivated them. Understand what each change was meant to preserve before editing. ## Make the smallest correct resolution - Preserve both intents when they work together. - When they cannot coexist, choose the behavior that serves the stated goal of the merge or rebase and record the trade-off. - Do not introduce unrelated behavior while resolving the hunk. - Remove every conflict marker and inspect the final combined code, not only the edited lines. ## Prove and finish Discover the project's checks and run the relevant formatter, type check, and tests. Fix any breakage caused by integrating the changes. Stage the resolved files. For a merge, create the merge commit when Git needs one. For a rebase, run `git rebase --continue` and repeat the same process for each remaining conflict until the rebase completes.
GitHub에서 보기