Skip to main content

Sync with remote and open a PR

Use this when someone else has pushed to the repo and you want your MacBook up to date, then contribute via a PR instead of pushing directly to main.

Prompt for Cursor

Copy and paste this when you need to sync and prepare a PR:
Cursor will run the right git fetch, git pull, and git checkout -b <branch> (or equivalent) and remind you to push the branch and open a PR.

Commands to run yourself

From the repo root (LayoutDocs):
Then on GitHub: open the repo → you’ll usually see “Compare & pull request” for the branch you just pushed → open the PR.

If pull has conflicts

If git pull origin main reports conflicts:
Then continue with your branch and push.