From e4c2524873583e5ee21ff43884f70a478dedf1e2 Mon Sep 17 00:00:00 2001 From: NFC666 <2954834129@qq.com> Date: Tue, 10 Nov 2026 22:28:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B0=E5=BD=95=E4=B8=8A=E4=BA=91=E7=AB=AF?= =?UTF-8?q?=E7=82=B9=E4=B8=8E=E5=BB=BA=E4=BB=93=E6=96=B9=E5=BC=8F=EF=BC=88?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=99=A8=E6=9C=AA=E5=BC=80=20push-to-create?= =?UTF-8?q?=EF=BC=8C=E9=9C=80=E8=B5=B0=20API=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .workbuddy/memory/2026-11-10.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.workbuddy/memory/2026-11-10.md b/.workbuddy/memory/2026-11-10.md index 7418581..23f986f 100644 --- a/.workbuddy/memory/2026-11-10.md +++ b/.workbuddy/memory/2026-11-10.md @@ -21,3 +21,10 @@ - 已同步:`史纲/中国近代史纲要.md` 目录改为 9 行(双链已核对)、`README.md` 史纲专题数 8→9 与版本记录。 - 已有跨科引用:史纲专题3 注明 2015-36「马克思进文庙」在马原专题1,不重复收录。 +## 上云(Git 远端) + +- 远端:私有自建 Gitea `https://app.zhantiandoudi.cn`,账号 `Yimu`;与数学笔记同一服务器。 +- 新建仓库 `Yimu/PoliticsNotes`(public、default_branch=master),`origin` 已配好,master 已跟踪 origin/master。 +- **该服务器未开启 push-to-create**(直接 git push 到不存在的仓库会 403),新建仓库须走 API:`POST /api/v1/user/repos`,用 `git credential fill` 取 Windows 凭据管理器里的 Yimu 账号做 basic auth。 +- 提交约定:笔记内容与 `题库/`、`参考仓库/` 一起入库;`.workbuddy/tmp_*/`(生成脚本中间件与备份)已 gitignore。 +