← 教程列表
news

If this returns a path, we're in a submodule, not a worktree

📅 2026/6/12 16:30:02⏱ 约 5 分钟阅读👁 8 阅读

git rev-parse --show-superproject-working-tree 2>/dev/null ``` If in a submodule, treat as `GIT_DIR == GIT_COMMON` (proceed to Step 0.5).

← 返回教程列表 AI8899 · 内容仅供学习参考