Quick Usage (Already Configured)
Update mirror
git -C vendor/opencode pull --ff-only
Common Gotchas
- Keep the mirror gitignored; never commit
vendor/opencode. - Use
--ff-onlyto avoid merge commits in the mirror.
First-Time Setup (If Not Configured)
Clone mirror
git clone https://github.com/anomalyco/opencode vendor/opencode