rake deploy时出错

TreeNewBeee Octopress 搭建静态博... 最后由 SuooL 于2016年10月31日回复

  • 1 回答
  • 1.2k 浏览

rake deploy时报错:

cd _deploy

There is no tracking information for the current branch.

Please specify which branch you want to merge with.

See git-pull(1) for details.

    git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

    git branch --set-upstream-to=origin/<branch> master

cd -

rm -rf _deploy/index.html

cp -r public/git@github.com:treenewbeee/. _deploy

rake aborted!

unknown file type: public/git@github.com:treenewbeee/.

C:/Users/TreeNewBeee/Desktop/octopress/Rakefile:261:in `block in <top (required)>'

C:/Users/TreeNewBeee/Desktop/octopress/Rakefile:227:in `block in <top (required)>'

Tasks: TOP => deploy

(See full trace by running task with --trace)

## Set the codepage to 65001 for Windows machines

## Deploying branch to Github Pages

## Pulling any updates from Github Pages

## Copying public/git@github.com:treenewbeee to _deploy

github上没有任何更新

捕获.PNG

  • SuooL 2016年10月31日 回答 #1楼
  • 您好, 这里您的配置文件需要配置您的 github 的 repo 地址以及项目的 branch 名字呢.

    您可以把您的配置发出来看一下是不是这方面的问题导致的~

  • 0 评论