在保存时警告,最后在服务器上提交后提示:Whoops, looks like something went wrong. 怀疑是不是这个 csrf 有问题?
在执行 git add -A 的时候 出现以下警告
The file will have its original line endings in your working directory.
vagrant@homestead:~/Code/sample$ commit -m "finish user signip"
之后操作一切正常,最后 在heroku 上提交后 出现 Whoops, looks like something went wrong. 错误.
百度后 设置了 core.autocrlf=true
vagrant@homestead:~/Code/sample$ git config core.autocrlf
vagrant@homestead:~/Code/sample$ git config --global core.autocrlf true
git push 和 git push heroku master后 提示
Everything up-to-date
测试还是出现 Whoops, looks like something went wrong.
推荐文章: