我按照http://jekyllbootstrap.com/usage/jekyll-quick-start.html中的步骤安装Jekyll-Bootstrap。
我可以跑
http://localhost:4000
在本地,我已经设置了ssh,但是git push origin master
不起作用。
---这是错误界面---
$ git push origin master到[email protected]:XXX / XXX.github.com.git![拒绝] master-> master(非快速转发)错误:无法将一些引用推送到'[email protected]:XXX / XXX.github.com.git'提示:由于当前提示,更新被拒绝分支背后是提示:它的远程对应项。在再次推送之前,集成远程更改(例如提示:'git pull ...')。提示:有关详细信息,请参见“ git push --help”中的“关于快进的注意事项”。
有人知道为什么git push origin master
不起作用吗?
该错误消息已经告诉您解决问题所需的一切。在开始之前,git push origin master
您应该执行一次操作,git pull origin master
以确保您具有服务器上的最新更新。
如果您收到此消息,则说明您确实在旧版本的存储库上工作,而不是最新版本。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句