MemRelay-Operation: checkpoint-save:checkpoint-github-push-2026-12-02 MemRelay-Resource: 3f3f0889-eff3-49ac-8889-282111f08a17
1.7 KiB
1.7 KiB
title, type, permalink, stable_id, scope, memory_type, project_id, usage_profile_id, status, revision, request_id, created_at, updated_at, tags
| title | type | permalink | stable_id | scope | memory_type | project_id | usage_profile_id | status | revision | request_id | created_at | updated_at | tags | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Checkpoint 2026-12-01 20:41:19 UTC [6ab2e80304] | checkpoint | main/projects/bc51a377-ed2d-4afc-a176-554fce220d45/checkpoint-2026-12-01-20-41-19-utc-6ab2e80304 | 3f3f0889-eff3-49ac-8889-282111f08a17 | project | checkpoint | bc51a377-ed2d-4afc-a176-554fce220d45 | 0c9feb46-d06e-43cd-9ef0-c5813c84a998 | active | 1 | checkpoint-github-push-2026-12-02 | 2026-12-01T20:41:19.350067+00:00 | 2026-12-01T20:41:19.350067+00:00 |
|
完成:把当前代码推到公开仓库 https://github.com/nixevol/LTEDongle 的 main。GitHub HEAD c5247a0b4088fc30ce99d06d135f0c8f377fef59,对应 Gitea b60ceefa47c1bbc146e464de15d650b876bad079。 原因:用户要求把代码提交到该 GitHub 仓库。仓库是当天新建的空公开仓库。 关键实现:在临时裸仓库用 git-filter-repo 去掉 rootfs.img 后推送,未改本地仓库和 Gitea。过滤时临时关闭 core.protectNTFS,以便保留内核里的 aux.c、aux.h。推送约 452MB,耗时约 2 分钟。 验证:git ls-remote 的 HEAD 为 c5247a0b。GitHub API:README.md、flasher/README.md、mifipanel/README.md、boot.img 均为 200,rootfs.img 为 404。本地 main 仍为 b60ceefa4,与 origin/main 一致,工作区干净。 问题:GitHub 仓库 size 接口刚推完仍显示 0,属于统计延迟;文件内容已能读到。 下一步:以后更新 GitHub 时,先在副本中去掉 rootfs.img 再推,不要对 GitHub 做 force push,也不要改写 Gitea 历史。 给下个会话:本地仓库没有名为 github 的远程。临时目录 F:\tmp\LTEDongle-github、F:\tmp\LTEDongle-bare.git 和 F:\tmp\git-filter-repo 推送成功后删除。