Files
xzmaster/.serena/memories/suggested_commands.md
2026-03-20 12:50:41 +08:00

12 lines
782 B
Markdown
Raw Permalink 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.
# 常用命令Windows / PowerShell
- 进入项目根目录:`cd D:\WorkSpace\me\xzmaster`
- 查看目录:`Get-ChildItem`
- 按名称递归查文件:`Get-ChildItem -Recurse -Filter <name>`
- 文本搜索(优先 ripgrep`rg <pattern>`;若系统无 `rg`,可用 `Get-ChildItem -Recurse | Select-String -Pattern <pattern>`
- 启动后端:`cd backend; mvn spring-boot:run`
- 后端测试:`cd backend; mvn test`
- 启动前端开发环境:`cd frontend; npm install; npm run dev`
- 前端构建验证:`cd frontend; npm run build`
- 前端预览:`cd frontend; npm run preview`
- Git 基本状态(若当前目录后续接入 Git`git status`, `git log -5 --stat`
- 当前工作区未确认是标准 Git 仓库前,不要假设完整 Git 流程可用。