From 2bee0ce8c8c0ab50fea03cd82bc3e5e157ece26f Mon Sep 17 00:00:00 2001 From: simonkoson <28867558@qq.com> Date: Fri, 15 May 2026 09:35:17 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20git=5Fworkflow.md=20=E7=AC=AC=202/3=20?= =?UTF-8?q?=E7=AB=A0=E8=B7=AF=E5=BE=84=E6=AE=8B=E7=95=99=20Z:\AIworks=20?= =?UTF-8?q?=E2=86=92=20E:\tps-dashboard=20=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/git_workflow.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/git_workflow.md b/docs/git_workflow.md index c72abd0..0dea7ff 100644 --- a/docs/git_workflow.md +++ b/docs/git_workflow.md @@ -71,7 +71,7 @@ git clone http://localhost:3000/simonkoson/tps-dashboard.git ```powershell # 切换到你想放项目的位置 -cd Z:\AIworks\ +cd E:\tps-dashboard\ # 把刚才复制的 clone 命令粘贴运行 git clone http://localhost:3000/simonkoson/tps-dashboard.git @@ -88,12 +88,12 @@ done. `warning: empty repository` 是**正常的**——本来就是空仓库,不是错误。 -完成后 `Z:\AIworks\` 下多了一个 `tps-dashboard` 文件夹。 +完成后 `E:\tps-dashboard\` 下多了一个 `tps-dashboard` 文件夹。 ### 2.3 进仓库目录 ```powershell -cd Z:\AIworks\tps-dashboard +cd E:\tps-dashboard\ ``` 之后所有 git 命令都在这个目录里跑。 @@ -104,17 +104,17 @@ cd Z:\AIworks\tps-dashboard **手动操作**(用 Windows 资源管理器): -1. 在 `Z:\AIworks\tps-dashboard\` 下: +1. 在 `E:\tps-dashboard\` 下: - 直接拷入 `.clinerules`、`project_plan.md`、`dev_plan.md`、`README.md`(平铺四份) -2. 在 `Z:\AIworks\tps-dashboard\` 下**新建文件夹** `docs`,把 `git_workflow.md` 拷进去 +2. 在 `E:\tps-dashboard\` 下**新建文件夹** `docs`,把 `git_workflow.md` 拷进去 -3. 在 `Z:\AIworks\tps-dashboard\` 下**新建文件夹** `logs`,把 `phase1_log.md` 拷进去 +3. 在 `E:\tps-dashboard\` 下**新建文件夹** `logs`,把 `phase1_log.md` 拷进去 **最终结构应该是**: ``` -Z:\AIworks\tps-dashboard\ +E:\tps-dashboard\ ├── .clinerules ├── project_plan.md ├── dev_plan.md @@ -132,7 +132,7 @@ Z:\AIworks\tps-dashboard\ **操作**:在 VS Code 终端里执行: ```powershell -cd Z:\AIworks\tps-dashboard +cd E:\tps-dashboard\ notepad .gitignore ``` @@ -244,7 +244,7 @@ branch 'main' set up to track 'origin/main'. ### 3.1 每天开工第一件事 ```powershell -cd Z:\AIworks\tps-dashboard +cd E:\tps-dashboard\ git status # 看看本地有没有未提交的改动 git pull # 拉 Gitea 最新(如果别的机器推过) ``` @@ -268,7 +268,7 @@ Cline(MiniMax M2.7)会自动跑 git add / git commit / git push。**这是默认 ### 3.4 你自己手工提交(备选) ```powershell -cd Z:\AIworks\tps-dashboard +cd E:\tps-dashboard\ git add -A git commit -m "fix: 修复登录页跳转问题" git push @@ -386,7 +386,7 @@ git push origin phase1-complete ### Q5:换了一台机器,怎么把代码搞过来 ```powershell -cd Z:\AIworks\tps-dashboard +cd E:\tps-dashboard\ git clone http://localhost:3000/simonkoson/tps-dashboard.git cd tps-dashboard # 然后跟原来一样开工就行