mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
`git config` only lists the configured value, but `git remote get-url` actually resolves the URL and is more stable.
I had a local configuration which aliased `gh:` to the appropriate GitHub URL:
```
[url "git@github.com:"]
insteadOf = "gh:"
pushInsteadOf = "git@github.com"
```
In this scenario, `git config` returns `gh:dgp1130/angular`, but `git remote get-url` returns `git@github.com:dgp1130/angular`, which is what the subsequent regex expects.
PR Close #64062
|
||
|---|---|---|
| .. | ||
| angular-optimization | ||
| esbuild | ||
| BUILD.bazel | ||
| defaults.bzl | ||
| release.mts | ||