blockmatic/basilic-skills

w-git-repair

Resolve common Git problems and conflicts with inspected commands.

查看源码
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Help with conflicts, detached HEAD, upstream divergence, and similar local Git problems. Follow git publish. Do not rewrite published history unless the user asked.

  1. Inspect git status, git branch -vv, and the relevant log. State the current problem in one sentence.
  2. Propose the smallest safe commands. Explain what they change. Require explicit confirmation before commands that can discard local changes (git reset --hard, git clean, git restore). Require an explicit user request before history-rewriting commands (git rebase, git commit --amend of a published commit).
  3. After an authorized command, re-inspect status and remaining conflicts. Never force-push or bypass hooks.
来自同一仓库

更多 Skills

全部 Skills