Git CLI¶
The Git command-line interface is used for repository discovery and remote tag resolution. Minimum required version: 2.x. |
Usage¶
Command |
Purpose |
|---|---|
|
Detect the repository root. Exit code 128 means not inside a repo. |
|
List all tags on a remote repository for version resolution. |
Constraints¶
git rev-parseis the only reliable method for repo-root detection; do not substitute with file-system heuristics.git ls-remoterequires network access; handle timeouts gracefully.