1212
Hexo deploy 发布不成功 · Issue #67 · hexojs/hexo · GitHub
Skip to content

Hexo deploy 发布不成功 #67

@rose1988c

Description

@rose1988c

更新了下5.3 和 5.4,发现发布不了了。

_config.yml

deploy:
  type: github
  repository: [email protected]:rose1988c/rose1988c.github.com.git
  branch: master

hexo generate

Loading.
Generating.
Site generated in 0.853s.

...
create mode 100644 tags/javascript/index.html
create mode 100644 tags/jekyll/index.html

fatal: 'github' does not appear to be a git repository

fatal: The remote end hung up unexpectedly

我再执行一次 generate deploy

Clearing
Copying files from public folder.
# On branch master
nothing to commit (working directory clean)

删除.deploy

hexo generate
hexo deploy

cyw@ubuntu:~/hexo.deploy.workspace$ hexo deploy
Setting up.
Initialized empty Git repository in /home/cyw/hexo.deploy.workspace/.deploy/.git/

[master (root-commit) 019860c] First commit
0 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 placeholder

fatal: A branch named 'master' already exists.

or

fatal: 'github' does not appear to be a git repository
fatal: The remote end hung up unexpectedly

ps:这是另外一个电脑。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions