syncing-main-branch
Installation
SKILL.md
Syncing Main Branch
Use only after explicit invocation. Operate on the current repository and preserve the branch, commits, and files being left.
Workflow
- Inspect tracked and untracked state, branch, and HEAD:
git status --porcelain=v1 --untracked-files=all
git status --short --branch
git symbolic-ref --quiet --short HEAD
Stop on any local change; do not stash, commit, discard, or carry it automatically. If HEAD is detached, record it and inspect containing refs. Stop until an otherwise reflog-only commit is preserved with a user-chosen branch or tag.