news
If this returns a path, we're in a submodule, not a worktree
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 · 内容仅供学习参考