使用指南
常见问题解答
ShipAny Two 需要单独购买吗?
原有 ShipAny 高级版用户在 ShipAny Two 模板详情页 支付 0 元购买,再绑定 Github 用户名激活。
新用户在 定价页面 购买 ShipAny 高级版,自动获得 ShipAny Two 模板,再绑定 Github 用户名激活。
如何开始使用 ShipAny Two?
参考 获取 ShipAny 获得 ShipAny Two 代码仓库访问权限。
参考 快速开始 使用 ShipAny Two 启动你的项目。
ShipAny Two 代码仓库不能 fork 吗?
私有仓库,不支持 fork。你需要创建自己的 Github 私有仓库,保存你的项目代码。
如何同步 ShipAny Two 的更新?
- 先克隆 ShipAny Two 代码仓库,初始化你自己的项目
git clone git@github.com:shipanyai/shipany-template-two my-shipany-project- 为你的项目创建私有 Github 仓库
比如,你在 Github 创建了一个私有仓库来保存你的项目代码,仓库地址是:github.com/idoubi/my-shipany-project
- 把项目代码推送到你的私有 Github 仓库
# 进入项目根目录
cd my-shipany-project
# 修改代码托管地址
git remote set-url origin git@github.com:idoubi/my-shipany-project.git
# 推送代码
git push origin main- 把 ShipAny Two 代码仓库设置为你的项目上游仓库
git remote add upstream git@github.com:shipanyai/shipany-template-two.git- 同步 ShipAny Two 的更新
# 拉取上游仓库的更新
git fetch upstream
# 合并上游仓库的更新
git merge upstream/main
# 推送代码到你的私有 Github 仓库
git push origin main你可以按需更新 ShipAny Two 最新代码,如果上游代码跟你的项目代码有冲突,你需要手动解决冲突。