Skip to content

problem with rake deploy #54

Open
Open
@ravizombie

Description

@ravizombie

I tried to deploy the generated pages and am faced with error

I had tried > rake generate and rake preview ( to check localhost changes)
everything seems to be fine.

Steps:

  1. created github pages with the github.io name
    (https://github.com/ravizombie/ravizombie.github.io.git)
  2. the github repo never creates an empty repo, and instructs one of the 3 ways to have some readme, .gitignore files, or remote repo or the other way
  3. After having a simple readme file created in the repo, I tried following all the steps outlined in http://octopress.org/docs
    The doc is perfect, except for some notes whensomeone is faced with errors like these.

problem with rake deploy

Ravis-MacBook-Pro:octopress ozeoit$ rake deploy

Deploying branch to Github Pages

Pulling any updates from Github Pages

cd _deploy

warning: no common commits

remote: Counting objects: 3, done.

remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0

Unpacking objects: 100% (3/3), done.

From https://github.com/ravizombie/ravizombie.github.io

  • 6dc2513...d4a4376 master -> origin/master (forced update)

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/assets

rm -rf _deploy/atom.xml

rm -rf _deploy/blog

rm -rf _deploy/favicon.png

rm -rf _deploy/images

rm -rf _deploy/index.html

rm -rf _deploy/javascripts

rm -rf _deploy/robots.txt

rm -rf _deploy/sitemap.xml

rm -rf _deploy/stylesheets

Copying public to _deploy

cp -r public/. _deploy

cd _deploy

Committing: Site updated at 2015-10-02 19:59:00 UTC

[master 7a260d7] Site updated at 2015-10-02 19:59:00 UTC

2 files changed, 2 insertions(+), 2 deletions(-)

Pushing generated _deploy website

To https://github.com/ravizombie/ravizombie.github.io.git

! [rejected] master -> master (non-fast-forward)

error: failed to push some refs to 'https://github.com/ravizombie/ravizombie.github.io.git'

hint: Updates were rejected because the tip of your current branch is behind

hint: its remote counterpart. Integrate the remote changes (e.g.

hint: 'git pull ...') before pushing again.

hint: See the 'Note about fast-forwards' in 'git push --help' for details.

Github Pages deploy complete

cd -

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