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