Files
MemRelay/projects/bc51a377-ed2d-4afc-a176-554fce220d45/Checkpoint 2026-12-01 20-41-19 UTC [6ab2e80304].md
T
memrelay bf91aef549 create: Checkpoint 2026-12-01 20:41:19 UTC [6ab2e80304]
MemRelay-Operation: checkpoint-save:checkpoint-github-push-2026-12-02
MemRelay-Resource: 3f3f0889-eff3-49ac-8889-282111f08a17
2026-12-02 04:41:23 +08:00

26 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Checkpoint 2026-12-01 20:41:19 UTC [6ab2e80304]
type: checkpoint
permalink: main/projects/bc51a377-ed2d-4afc-a176-554fce220d45/checkpoint-2026-12-01-20-41-19-utc-6ab2e80304
stable_id: 3f3f0889-eff3-49ac-8889-282111f08a17
scope: project
memory_type: checkpoint
project_id: bc51a377-ed2d-4afc-a176-554fce220d45
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: checkpoint-github-push-2026-12-02
created_at: '2026-12-01T20:41:19.350067+00:00'
updated_at: '2026-12-01T20:41:19.350067+00:00'
tags:
- github
- git
---
完成:把当前代码推到公开仓库 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 推送成功后删除。