我試圖推動一個octopress到GitHub的頁面,一切都一直很好到現在,但是當我做耙顯示octopress文件我碰到下面的錯誤後部署命令Octopress推錯誤的GitHub
To [email protected]:rukshn/rukshn.github.io.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to '[email protected]: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.
有什麼問題?
@SLaks有什麼問題,以及如何解決它 – rksh
望着Octopress Rake文件,它應該拉任何改變前推,但它會出現這沒有發生過。您是否嘗試過首先運行'git pull',如錯誤消息所示? – james246
做拉然後再做'耙部署',仍然得到同樣的錯誤,所以我再次拉,然後顯示一切都uptodate – rksh