<git:// url><github username>/<github project>指 git repo 中的包。这可以是完整的 git url、git 速记或 GitHub 上的用户名/包。您可以通过附加 #ref 来指定 git 标记、分支或其他 git ref。
例子:
https://github.com/npm/cli.gitgit@github.com:npm/cli.gitgit+ssh://git@github.com/npm/cli#v6.0.0github:npm/cli#HEADnpm/cli#c12ea07