Geeker
V2EX  ›  问与答

用jekyll+github搭建博客第一步就失败,求指导

  •  
  •   Geeker · Apr 22, 2013 · 5073 views
    This topic created in 4956 days ago, the information mentioned may be changed or developed.
    我是看这个http://jekyllbootstrap.com/ 下面的USERNAME换成我的用户名

    第一步,建立了一个 USERNAME.github.com

    第二步 Install Jekyll-Bootstrap 的时候,就没成功过。。。
    $ git clone https://github.com/plusjade/jekyll-bootstrap.git USERNAME.github.com
    这行代码执行失败:fatal:destination path 'USERNAME.github.com' already exists and is not an empty directory

    怎么办。。。
    13 replies  •  1970-01-01 08:00:00 +08:00
    swulling
    swulling
    Apr 22, 2013❤️1
    1
    我帮你翻译下英文:
    错误:目标路径「USERNAME.github.com」已经存在而且不是空目录
    welsonla
    welsonla
    Apr 22, 2013
    2
    Orz,是不是你本地已经有这个文件夹了
    Geeker
    Geeker
    OP
    Apr 22, 2013
    3
    @swulling 额。。我也会翻译。。。我知道,意思是删掉本地的文件夹就可以了?但是删掉不行啊
    @welsonla
    welsonla
    welsonla
    Apr 22, 2013❤️1
    5
    @Geeker 如果不介意的话,建议使用Octopress,我也折腾Jekyll没成功
    Octopress是基于Jekyll的,github也可以托管
    教程 :http://octopress.org/docs/setup/
    Geeker
    Geeker
    OP
    Apr 22, 2013
    6
    @Jat001 最后 push origin master
    结果是下面这样:。。。。。。。。
    permission denied(publickey).
    fatal could not read from remote repository

    please make sure you have the correct access rights and the repository exists.
    cadl
    cadl
    Apr 22, 2013
    7
    @Geeker 要去github账户里面配置ssh key吧
    Geeker
    Geeker
    OP
    Apr 22, 2013
    8
    @ctrlaltdeletel 怎么配置?
    cadl
    cadl
    Apr 22, 2013❤️1
    9
    @Geeker 把~/.ssh/id_rsa.pub 扔到github账户设置-ssh keys里吧 话说这些可以谷歌的啊~
    Geeker
    Geeker
    OP
    Apr 22, 2013
    10
    @ctrlaltdeletel 主要是因为google了也看不大懂。。。我正在积极google中
    run2
    run2
    Apr 22, 2013❤️1
    11
    其实真心不建议用github page做blog因为人家是为开源repo服务的

    然后github page 现在是用 .github.io 做为域名了

    再然后 lz你搞不懂Git的话可以用github client for Mac/Win来同步repo
    再看看try.github.io git的手把手教程
    或者干脆不要折腾了
    Geeker
    Geeker
    OP
    Apr 22, 2013
    12
    @ctrlaltdeletel 还是不行啊。ssh key之前就是配置好的,我又重新配置了一下,还是同样的错误,这是何意。。。
    Geeker
    Geeker
    OP
    Apr 22, 2013
    13
    @sobigfish 最后还是用github client for Win搞出来了。。。谢谢~
    但是还是想搞清楚 为什么 ssh key 配置正确依然推送不了呢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2447 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 11:55 · PVG 19:55 · LAX 03:55 · JFK 06:55
    ♥ Do have faith in what you're doing.