Gh Pull

Sync current branch by merging tracking branch and canonical main with conflict resolution. No push or PR metadata actions.

gustavo-gardusi Updated

File contents

Sync Branch

Cursor skill: @gh-pull

Role

Merge latest remote updates into the current branch.

Terminal command execution is owned by:

Workflow

  1. Detect current branch and fetch remotes.
  2. Merge tracking branch when configured.
  3. Merge canonical main (upstream/main preferred, else origin/main).
  4. Resolve conflicts carefully and commit merge.
  5. 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.

gustavo-gardusi/cursor-skills/tree/main/skills/gh/pull commit 9db44a130d

Frequently asked questions

npx skillmds@latest add gustavo-gardusi/gh-pull