Octokit创建的存储库未出现在网站上

时间:2018-10-22 03:29:21

标签: c# .net github octokit.net

我无法打开从Github Web浏览器通过Octokit创建的存储库(使用标准网址#include <stdio.h> #include <stdlib.h> struct today { int date; char weekday; }; int main(void) { struct today *table; table = malloc(sizeof *table * 3); if(table == NULL) { //Memory allocation failed //TODO: Handle this somehow. } for (int i = 0; i < 3; i++) { table[0].date = 20181022; table[0].weekday = 'M'; } printf("%d, %c", table[0].date, table[0].weekday); free(table); return 0; }

但是有效的是网址github.com/user/repo-name

此外,Github在页面上显示以下消息:

  

目前无法检索最新提交。

我认为github.com/user/repo-name.git配置文件中可能存在一些问题,因为它们看起来与我在网络浏览器中创建的存储库中几乎相同。

可能是什么原因引起的问题?

我可以使用.git克隆此存储库,效果很好。

我正在通过Octokit创建一个存储库,效果很好

context.CloneUrl

另外,我正在使用var basicAuth = new Octokit.Credentials(Login, Password); var client = new GitHubClient(new ProductHeaderValue(repoName)) {Credentials = basicAuth}; var repository = new NewRepository(repoName) { AutoInit = false, Description = null, Private = false }; var context = await client.Repository.Create(repository); 创建和初始化本地存储库

1 个答案:

答案 0 :(得分:0)

自昨晚结帐https://status.github.com/messages以来,Github一直遇到困难。它可能现在已备份(10小时后)

相关问题