我正在尝试将 Octopress 推送到 GitHub 页面,到目前为止一切都很顺利,但当我在显示 Octopress 文件后执行 rake deploy 命令时,出现以下错误。
To git@github.com:rukshn/rukshn.github.io.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'git@github.com:rukshn/rukshn.github.io.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull')
hint: before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
有什么问题吗?
git pull
呢? - james246master
分支,然后再次运行了rake deploy
。 - onmyway133