小编tom*_*omb的帖子

即使在删除文件后,开发日志文件也超过了GitHub的文件大小限制

我试图在我的应用程序中提交一些更改,并收到一个错误,开发日志太大,512MB.我删除了开发日志文件并再次尝试,同样的错误显示日志大小为103.2MB.我也试过rake log:clear同样的错误.

显然,开发日志文件正在被重写.我从来没有使用过日志,可能不会错过它们...有没有办法提交git而不是重写开发日志?

 2 files changed, 0 insertions(+), 1096498 deletions(-)
 rewrite log/development.log (100%)
 rewrite log/production.log (100%)
[master]~/Projects/schoolsapi: git push origin master
Username: 
Password: 
Counting objects: 26, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (15/15), done.
Writing objects: 100% (17/17), 6.90 MiB | 322 KiB/s, done.
Total 17 (delta 7), reused 0 (delta 0)
remote: Error code: 026c4e06d174bf5b0e51c754dc9459b0
remote: warning: Error GH413: Large files detected.
remote: warning: See http://git.io/iEPt8g for more information.
remote: error: File …
Run Code Online (Sandbox Code Playgroud)

git logging ruby-on-rails

6
推荐指数
1
解决办法
1649
查看次数

标签 统计

git ×1

logging ×1

ruby-on-rails ×1