Sync Branch
Cursor skill: @gh-pull
Role
Merge latest remote updates into the current branch.
Terminal command execution is owned by:
Workflow
- Detect current branch and fetch remotes.
- Merge tracking branch when configured.
- Merge canonical
main(upstream/mainpreferred, elseorigin/main). - Resolve conflicts carefully and commit merge.
- Report sync result.
Use internal/gh/pull-merge for all runnable command steps.
Preconditions
- Must be on a branch (not detached HEAD).
Does Not Do
- Does not publish (
@gh-push). - Does not run full verification (
@gh-check). - Does not create/update PR metadata (
@gh-pr).
Next Skill
If blocked by conflicts, resolve manually and rerun @gh-pull.