Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(git): limit ls-remote output to heads/tags
GitHub repositories can contain other types of refs, such as pull requests, which can be fetched via `git-fetch` but not cloned via `git clone -b`. Fixes npm/npm#16898.
- Loading branch information