@
iYu 不好意思 再问一个比较弱智的问题,我弄了很长时间没搞出来,再次请教,我最近更新了主题,然后我想提交到heroku上去,我就这样敲的命令:
git add .
git commit -am '更改'
git push heroku master
然后给我了下面一串的错误
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'git@heroku.com:shiguangji.git'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes (e.g. 'git pull') before pushing again. See the
'Note about fast-forwards' section of 'git push --help' for details.
我找了些git的文章看了看,不知道如何整哇,网上说这样强制push
git push heroku +master
测试了下 还是报错,无奈了。
我也尝试使用git pull 但是提示我删除一大串的东西,诶 实在搞不定,求解。
求大牛支招。