3.1.38.7. waf_tools.vcs_git.get_remote
- waf_tools.vcs_git.get_remote(repo: Repo, version: VcsInformation) str | None
Determine the ‘origin’ remote URL.
- Parameters:
repo – The repository from which to read the remote information.
version – The version container used to provide a fallback if the remote cannot be read.
- Returns:
The remote URL if it can be determined; otherwise the current value stored on the version object.