Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hexo deploy 提示 'github' does not appear to be a git repository #105

Closed
okoala opened this issue Mar 4, 2013 · 2 comments
Closed

hexo deploy 提示 'github' does not appear to be a git repository #105

okoala opened this issue Mar 4, 2013 · 2 comments

Comments

@okoala
Copy link

okoala commented Mar 4, 2013

下面是我的操作:

[root@localhost blog]# hexo version
hexo: 1.0.4
http_parser: 1.0
node: 0.8.21
v8: 3.11.10.25
ares: 1.7.5-DEV
uv: 0.8
zlib: 1.2.3
openssl: 1.0.0f

[root@localhost blog]# ssh -T git@github.com
Enter passphrase for key '/root/.ssh/id_rsa': 
Hi okoala! You've successfully authenticated, but GitHub does not provide shell access.

[root@localhost blog]# hexo deploy --generate
Loading.
Generated compeletely.
Site gnerated in 0.395s.
Clearing
Copying files from public folder.
[master 3ba2b85] Site updated: Mon Mar 04 2013 09:54:04 GMT+0800 (CST)
 6 files changed, 6 insertions(+), 6 deletions(-)
fatal: 'github' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

下面是deploy的配置:

# Deployment
## Docs: http://zespia.tw/hexo/docs/deploy.html
deploy:
  type: github
  repository: git@github.com:okoala/okoala.github.com.git
  branch: master

这如何解决呢?

@xyangfd
Copy link

xyangfd commented Mar 10, 2013

github repo里有README.md吗?hexo generate不会生成这个文件,所以deploy时会有问题~~

@rose1988c
Copy link

更新到1.0.4,我也有这个问题。都不能发布了。

@inetfuture inetfuture mentioned this issue Mar 15, 2013
tommy351 added a commit that referenced this issue Mar 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants