我在我的 windows(windows8 x64) 上成功安装了 octopress,然后我创建了一个名为wenliangcan.github.com的 repo ,并尝试在 github 上部署一个博客。
当我键入命令rake setup_github_pages
并输入存储库 url时,它给了我一个错误:
rake aborted!
No such file or directory - git remote -v
在输入存储库 url之前,它给了我一个这样的例子:
Enter the read/write url for your repository
(For example, 'git@github.com:your_username/your_username.github.com)
虽然一些第三方教程的例子像这种形式:
git@github.com:your_username/your_username.github.com.git
我都试过了,但它给了我同样的错误。
下面是 CMD 的截图:
截图内容:
D:\Profiles\GitHub\Octopress>rake setup_github_pages
Enter the read/write url for your repository
(For example, 'git@github.com:your_username/your_username.github.com)
Repository url: git@github.com:wenLiangcan/wenliangcan.github.com.git
rake aborted!
No such file or directory - git remote -v
Tasks: TOP => setup_github_pages
(See full trace by running task with --trace)
D:\Profiles\GitHub\Octopress>rake setup_github_pages
Enter the read/write url for your repository
(For example, 'git@github.com:your_username/your_username.github.com)
Repository url: git@github.com:wenLiangcan/wenliangcan.github.com
rake aborted!
No such file or directory - git remote -v
Tasks: TOP => setup_github_pages
(See full trace by running task with --trace)
我该如何解决这个问题?
谢谢!