- Walk up from pwd looking for workspace indicators (.mdworkspace) - Skip submodules (.git file with /modules/), stop at worktrees - Fall back to nearest real git root (.git directory) - Error if not in any git repo or workspace |
||
|---|---|---|
| .. | ||
| Kmpl | ||
| Oi | ||
- Walk up from pwd looking for workspace indicators (.mdworkspace) - Skip submodules (.git file with /modules/), stop at worktrees - Fall back to nearest real git root (.git directory) - Error if not in any git repo or workspace |
||
|---|---|---|
| .. | ||
| Kmpl | ||
| Oi | ||