git-back-to-main
星标11
分支0
更新时间2026年2月15日 01:15
Discard local changes, switch to main, and pull latest
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Discard local changes, switch to main, and pull latest
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run ruff linter and formatter on the project
Add observability (probes, trackers, charts) to a simulation
Analyze simulation results and provide insights
Help choose the right happysimulator components for a use case
Troubleshoot a broken or misbehaving simulation
Walk through a library example with detailed explanation
| name | git-back-to-main |
| description | Discard local changes, switch to main, and pull latest |
Abandon the current branch and return to a clean, up-to-date main.
git branch --show-current.git checkout -- .
git clean -fd
git checkout maingit pull origin maingit fetch origin main
git reset --hard origin/main