iriya-ufo's blog

Curiosity was simply the first derivative of knowledge.

Octopress Deploy エラーなおした

当ブログは Octopress と GitHub Pages で運用しているのだけれど、別PCに移行したときにデプロイエラーが出たのでそれをなおした。


## Pushing generated _deploy website
 ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to ''
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.


cd _deploy
git reset --hard origin/master
cd ..

rake generate
rake deploy