按照 Jekyll-Bootstrap 的说明进行操作时出现错误:未找到存储库消息
使用 Jekyll-Bootstrap 时,Github 页面不适合我。
我按照这里的说明操作:
http://jekyllbootstrap.com/
说明说:
$ git clone https://github.com/plusjade/jekyll-bootstrap.git USERNAME.github.com
$ cd USERNAME.github.com
$ git remote set-url origin [email protected]:USERNAME/USERNAME.github.com.git
$ git push origin master
我使用了个性化安装代码(意味着我的 github 名称而不是“用户名”)
当我尝试执行最后一个“$ git Push origin master”时,我收到此错误 我
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly
如何得到这个去工作?
谢谢
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我遇到了同样的问题。我注意到该指令给出的命令包含
USERNAME.github.com
,而我实际的 Jekyll-Bootstrap 博客位于USERNAME.github.io
。I ran into the same problem. I noticed that the instruction give commands that include
USERNAME.github.com
while my actual Jekyll-Bootstrap blog is located atUSERNAME.github.io
.您必须在 GitHub 上创建一个名为 USERNAME.github.com 的 git 存储库。您是 GitHub 新手吗?只需确保您登录,然后转到 http://github.com 上的仪表板
在该页面的某个位置,您会看到一个“新存储库”按钮。使用它创建一个名为
USERNAME.github.com
的存储库。完成后,再次运行 Jekyll Bootstrap 命令,它应该可以工作。让我知道进展如何。
You have to have created a git repository on GitHub named
USERNAME.github.com
. Are you new to GitHub? Just make sure you log in and then go to your dashboard which is on http://github.comSomewhere on that page you'll see a button "New repository". Use that to create a repo named
USERNAME.github.com
. Once that's done, run the Jekyll Bootstrap commands again and it should work.Let me know how it goes.
当用户对组织没有权限时,我遇到了同样的问题。如果您遇到此问题,请检查其状态。
I had the same issue when the user had no permissions over the organization. Check its status if you have this problem.
我面对这个问题,拔出头发并找出解决方案。发生这种情况是因为您的 git 远程存储库仍然指向 github.io。而是使用
github.com
然后运行 setup
它会提示输入 repo url,输入带有
.com
扩展名的 url[电子邮件受保护]:myorganization/myrepo.github.com.git
I face this issue and pull my hair out and figure out the solution. It occurs since your git remote repo still points to
github.io
. Instead usegithub.com
Then run setup
It prompts for repo url, enter your url which has
.com
extension[email protected]:myorganization/myrepo.github.com.git
我遇到了同样的问题。当我按照以下步骤克隆 jekyll 存储库时,我创建了 username.github.io 存储库:
我还使用 CNAME 文件重定向到我的自定义域。有时推送成功并可以提交时效果很好。但一段时间后它会给出同样的错误。
此时,在您的根目录中创建了 _site 文件夹,地址为 username.github.io
我还不知道解决方案,但删除远程存储库并再次推入空存储库。
谢谢。
I ran into same problem. I have created username.github.io repository when I cloned the jekyll repo as per the steps:
I also used CNAME file to redirect to my custom domain. It works fine for sometime pushes successfully and can commit. But after sometime it gives the same error.
At this time _site folder is created on your root at username.github.io
I couldn't know the solution yet but deleting the remote repo and pushing into empty repo again.
Thanks.