我是题主 在把项目push到master上面遇到错误: error: failed to push some refs to 'https://github.com/ritsuyan/ritsuyan.github.io.git' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details.
于是我也学楼上打一下广告了(逃
这是托管在
github.io
上的(基本不怎么管的)博客github.io这是托管在
coding.me
上的(连半成品都不算的)作品集coding.me原来还有放在
gitcafe
上的一个,不过gitcafe
要和coding
合并了orz反正按照教程配置就可以了(
命令出错了,
,看这里
git pages只能托管静态页面
可以参考一下我的目录配置,我的github-pages就是只用了静态页面。并且只有一个
master
分支https://github.com/zp1996/zp1996.github.io我是题主
在把项目push到master上面遇到错误:
error: failed to push some refs to 'https://github.com/ritsuyan/ritsuyan.github.io.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.