Update container path documentation

Align the docs with the reorganized project layout so container setup commands match the paths users actually run.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
严浩
2026-03-08 18:35:38 +08:00
parent 596ea93178
commit f407de1844
2 changed files with 14 additions and 8 deletions

View File

@@ -84,23 +84,29 @@ GIT_CRED_PROXY_PROTOCOLS=https,http ./host/start.sh
### 3. 容器里配置 Git helper
全局生效
如果你当前就在挂载后的 `host-git-cred-proxy` 项目根目录,直接执行
```bash
/workspaces/host-git-cred-proxy/container/configure-git.sh
./container/configure-git.sh
```
只作用于当前仓库:
如果你想只作用于当前仓库:
```bash
cd /path/to/your/repo
/workspaces/host-git-cred-proxy/container/configure-git.sh --local
/path/to/host-git-cred-proxy/container/configure-git.sh --local
```
或者显式指定仓库:
```bash
/workspaces/host-git-cred-proxy/container/configure-git.sh --local --repo /workspaces/your-repo
/path/to/host-git-cred-proxy/container/configure-git.sh --local --repo /path/to/your-repo
```
如果这个项目在容器里不是当前目录,而是挂载在固定位置,例如 `/opt/host-git-cred-proxy`,那就执行:
```bash
/opt/host-git-cred-proxy/container/configure-git.sh
```
### 4. 验证