opencode-mirror

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Quick Usage (Already Configured)

快速使用(已配置完成)

Update mirror

更新镜像

bash
git -C vendor/opencode pull --ff-only
bash
git -C vendor/opencode pull --ff-only

Common Gotchas

常见注意事项

  • Keep the mirror gitignored; never commit
    vendor/opencode
    .
  • Use
    --ff-only
    to avoid merge commits in the mirror.
  • 将镜像目录加入.gitignore;切勿提交
    vendor/opencode
    目录。
  • 使用
    --ff-only
    参数避免在镜像中产生合并提交。

First-Time Setup (If Not Configured)

首次设置(未配置时)

Clone mirror

克隆镜像

bash
git clone https://github.com/anomalyco/opencode vendor/opencode
bash
git clone https://github.com/anomalyco/opencode vendor/opencode