Files
docker-files/.serena/memories/suggested_commands.md
2026-05-27 15:09:39 +08:00

29 lines
442 B
Markdown

# 常用命令
在 Windows PowerShell 中查看文件:
```powershell
Get-ChildItem -Force
rg --files --hidden -g "!.git/**"
Get-Content -Path <file>
```
构建镜像:
```bash
./rebuild.sh gitea_runner_base
./rebuild.sh gitea_runner_node
./rebuild.sh <image_dir> [version] [save]
```
手动 Docker 构建:
```bash
docker build -t timi/<image_dir>:latest ./<image_dir>
```
查看 Git 状态:
```powershell
git status --short
```