resolve-conflict
/resolve-conflict
Rozwiązuje konflikty scalania w gicie: wskazuje pliki, wyjaśnia obie wersje i kończy scalanie po zgodzie użytkownika.
- Autor
- kmedi355 ↗
- Repozytorium
- team-git-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 11.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 11.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Rozwiązuje konflikty scalania w gicie: wskazuje pliki, wyjaśnia obie wersje i kończy scalanie po zgodzie użytkownika.
Wyzwalacze z opisu
Oryginalny opis (EN)
Resolve git merge conflicts - find the conflicted files, explain both versions, combine them with the user's say-so, and finish the merge. Use when someone says "merge conflict", "both modified", or sees <<<<<<< markers.
Jak działa
- 0. Context
- 1. Find the conflicted files
- 2. Explain each one
- 3. Decide with the user
- 4. Apply it
- 5. Finish the merge
Podgląd SKILL.md
--- name: resolve-conflict description: Resolve git merge conflicts - find the conflicted files, explain both versions, combine them with the user's say-so, and finish the merge. Use when someone says "merge conflict", "both modified", or sees <<<<<<< markers. --- # Resolve a merge conflict Guide: if the repo has a CONTRIBUTING.md, the matching section is "I got a merge conflict". The steps below work without it. ## 0. Context Confirm a merge is actually in progress: `git status` should say "You have unmerged paths". If not, there's nothing to resolve; explain what `git status` shows instead. ## 1. Find the conflicted files ```bash git diff --name-only --diff-filter=U ``` ## 2. Explain each one Read the conflict blocks (between `<<<<<<<`, `=======` and `>>>>>>>`). Explain in plain terms what each side does. The top side is the current branch; the bottom is what's being merged in (its name is after `>>>>>>>`). `git log --oneline -3 MERGE_HEAD -- <file>` shows who changed it on the other side. ## 3. Decide with the user Propose a combined version and show it. If it's not obvious which is right (both sides change behavior), tell them to check with the teammate who wrote the other side. Don't silently pick one. ## 4. Apply it Remove every `<<<<<<<`, `=======` and `>>>>>>>` line, then confirm none remain: ```bash git diff --check ``` ## 5. Finish the merge ```bash git add <file> ... git commit --no-edit git push ``` **Want to back out instead?** Before step 5, `git merge --abort` returns everything to how it was before the merge. Ask first; it discards any conflict fixes made so far.
Wersje
W bazie nie ma innych skilli o nazwie resolve-conflict.
Migawka bazy z 13.11.2026 · wersja paczki 69f88f9ed1c9 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 1 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100hk-merge-resolve
Rozwiązuje konflikty scalania w bieżącej gałęzi, wyłącznie po jawnym wywołaniu polecenia /hk-merge-resolve. - 100hk-merge-resolve
Rozwiązuje konflikty w trwającym merge, rebase lub cherry-pick i uruchamia sprawdzony zestaw testów dla zmienionych części. - 96resolving-merge-conflicts
Rozwiązuje konflikty w trwającym merge lub rebase w git. - 96resolving-merge-conflicts
Rozwiązuje konflikty w trwającym merge lub rebase w git. - 90resolve-m-conflicts
Rozwiązuje konflikty scalania: parsuje znaczniki, pokazuje diffy obok siebie, wyjaśnia przyczynę i proponuje opcje z uzasadnieniem. - 100resolve-conflicts
Klasyfikuje konflikty w Git według pewności, automatycznie rozwiązuje pewne przypadki, waliduje wynik i cofa zmiany, gdy walidacja zawiedzie.