首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Github:错误:找不到存储库。致命:远程端意外挂断(不同)

Github:错误:找不到存储库。致命:远程端意外挂断(不同)
EN

Stack Overflow用户
提问于 2012-10-06 20:11:18
回答 1查看 1.9K关注 0票数 1

这是我的代码:

代码语言:javascript
复制
$ git clone https://github.com/Perrydu/jekyll-plumbious.git Perrydu.github.com
$ cd Perrydu.github.com
$ git remote set-url origin git@github.com:Perrydu/Perrydu.github.com.git
$ git push origin master

终端:

代码语言:javascript
复制
Last login: Sat Oct  6 19:54:15 on ttys000
Dus-MacBook-Pro:~ Perry$ $ git clone https://github.com/Perrydu/jekyll-plumbious.git Perrydu.github.com
-bash: $: command not found
Dus-MacBook-Pro:~ Perry$ git clone https://github.com/Perrydu/jekyll-plumbious.git Perrydu.github.com
Cloning into Perrydu.github.com...
remote: Counting objects: 34, done.
remote: Compressing objects: 100% (26/26), done.
remote: Total 34 (delta 3), reused 30 (delta 3)
Unpacking objects: 100% (34/34), done.
Dus-MacBook-Pro:~ Perry$ cd Perrydu.github.com
Dus-MacBook-Pro:Perrydu.github.com Perry$ git remote set-url origin git@github.com:Perrydu/Perrydu.github.com.git
Dus-MacBook-Pro:Perrydu.github.com Perry$ git push origin master
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly
Dus-MacBook-Pro:Perrydu.github.com Perry$

和jekyll-bootstrap一样,我也是这样做的。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-10-06 20:21:49

我假设您正在执行下面描述的步骤:

  • http://jekyllbootstrap.com/

从您的GitHub帐户来看,问题好像是您已经创建了一个名为perrydu.github.com的存储库,但您使用origin的URL所引用的存储库是Perrydu.github.com。GitHub存储库的名称区分大小写,因此我将进入以小写字母命名的存储库(perrydu.github.com)的GitHub管理界面,并将其重命名为Perrydu.github.com

然后,几分钟后,您之前尝试的push命令应该会起作用。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/12759681

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档