opencode-mirror
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseQuick Usage (Already Configured)
快速使用(已配置完成)
Update mirror
更新镜像
bash
git -C vendor/opencode pull --ff-onlybash
git -C vendor/opencode pull --ff-onlyCommon Gotchas
常见注意事项
- Keep the mirror gitignored; never commit .
vendor/opencode - Use to avoid merge commits in the mirror.
--ff-only
- 将镜像目录加入.gitignore;切勿提交目录。
vendor/opencode - 使用参数避免在镜像中产生合并提交。
--ff-only
First-Time Setup (If Not Configured)
首次设置(未配置时)
Clone mirror
克隆镜像
bash
git clone https://github.com/anomalyco/opencode vendor/opencodebash
git clone https://github.com/anomalyco/opencode vendor/opencode