deploy时[non-fast-forward]reject问题解决方案
Github+Octopress rake deploy时[non-fast-forward]reject问题解决方案
好久没更新blog,今天写好文deploy时发现报错:
! [rejected] master -> master (non-fast-forward)
在网络google了半下午,终于找到了解决方案:
更换目录,并更新:
cd octopress/_deploy
git pull origin master
跳出目录,重新deploy:
cd ..
rake deploy
问题解决。
参考:
http://stackoverflow.com/questions/17609453/rake-gen-deploy-rejected-in-octopress
- Blog Link: http://conxz.net/2014/04/12/2014-04-12-non-fast-forward-error-with-octopress/
- Copyright Declaration: The author owns the copyright (CC BY-NC-ND 4.0).