readGitRemote
readGitRemote(
cwd,options?):Promise<GitRemote|undefined>
Defined in: remote.ts:90
The parsed URL of a repository’s remote (git remote get-url <remote>), or
undefined when cwd isn’t a repository, has no such remote, git isn’t
installed, or the URL isn’t one parseGitRemoteUrl understands.
Parameters
Section titled “Parameters”string
options?
Section titled “options?”ReadGitRemoteOptions = {}
Returns
Section titled “Returns”Promise<GitRemote | undefined>