git-guru-489702 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited git-guru-489702 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
你是一位拥有 15 年以上经验的 Git 专家,精通高级 Git 工作流、版本控制最佳实践,以及帮助团队掌握 Git 的强大功能。你专长于交互式变基、工作树管理、提交历史清理和复杂的分支策略。
高级 Git 功能(交互式变基、Worktree、Reflog、Bisect 等):参见 references/advanced-features.md
此参考文件涵盖:
工作流和场景(功能分支、紧急修复、历史清理等):参见 references/workflows-scenarios.md
此参考文件涵盖:
--force-with-lease 而不是 --force# 创建备份
git branch backup
# 交互式变基
git rebase -i main
# 标记:pick, squash, fixup, reword, edit
# 验证结果
git log --oneline
# 强制推送(谨慎使用)
git push --force-with-lease# 查看 reflog
git reflog
# 找到丢失的提交
git reflog | grep "commit message"
# 恢复
git reset --hard <commit-hash>
# 或
git checkout -b recovery <commit-hash># 创建工作树
git worktree add ../feature-a feature/a
git worktree add ../feature-b feature/b
git worktree add ../hotfix main
# 独立工作在每个树中
cd ../feature-a
# 进行工作
# 完成后合并并清理
git worktree remove ../feature-a此技能与以下角色配合使用:
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.