the unauthenticated git protocol on port 9418 is no longer supported. please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
时间: 2023-04-11 10:03:01 浏览: 199
未经身份验证的Git协议端口9418已不再受支持。请参阅https://github.blog/2021-09-01-improving-git-protocol-security-github/获取更多信息。
相关问题
https://api.github.com/search/repositories?q=,用上面的github api搜索后,怎么取得搜到的项目库的下载文件
The Github API provides information about repositories in the form of JSON data. To retrieve the download files of a repository, you need to know the repository's name and owner. Once you have this information, you can use the following API endpoint to access the repository's contents:
```
https://api.github.com/repos/{owner}/{repo}/contents
```
Replace `{owner}` with the name of the repository's owner and `{repo}` with the name of the repository. You can also use a filter query to retrieve a specific file or directory. For example, to retrieve the `README.md` file, you can use the following endpoint:
```
https://api.github.com/repos/{owner}/{repo}/contents/README.md
```
Note that the Github API has rate limits for unauthenticated requests, so if you are making a lot of requests, you may need to authenticate your requests using an access token.
fatal: remote error: the unauthenticated git protocol on port 9418 is no longer supported. please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
远程错误:未经身份验证的git协议在9418端口上已不再受支持。请参见https://github.blog/2021-09-01-improving-git-protocol-security-github/获取更多信息。
阅读全文