From d879b65662ad8221798fa7d57b83e5a3e356140e Mon Sep 17 00:00:00 2001 From: moira Date: Wed, 13 May 2026 14:52:00 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E7=BA=A6=E6=9D=9F-=E4=BD=BF=E7=94=A8jj?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AGENTS.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 6a91b83..9d644b8 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -160,6 +160,20 @@ version = "0.3.0" # 唯一版本定义 **不再使用 `app_version` 字段**(已移除)。 +### 版本控制 + +本项目使用 **jj (Jujutsu)** 替代 git 进行版本控制。**提交变更时务必使用 `jj` 而非原生 git。** + +| 操作 | 命令 | 说明 | +|------|------|------| +| 查看状态 | `jj status` | 当前工作目录变更 | +| 提交 | `jj commit -m "msg"` | 创建新变更 | +| 推送 | `jj git push` | 推送到远程 | +| 拉取 | `jj git fetch` | 从远程拉取 | +| 查看日志 | `jj log` | 变更历史 | + +git remote:`gitea-server:milky/asd-backend.git` + --- ## 数据库