Function: normalizeGitUrl()¶
normalizeGitUrl(
url):string
Defined in: resolver/src/git-url-utils.ts:192
Normalize a Git URL to a canonical HTTPS form.
Parameters¶
url¶
string
Git URL to normalize
Returns¶
string
Normalized HTTPS URL
Example¶
normalizeGitUrl('[email protected]:org/repo.git');
// 'https://github.com/org/repo.git'