gitlab 可以push但web端不显示文件

运行命令 gitlab-rake cache:clear RAILS_ENV=production 清楚缓存.
如果没有 gitlab-rake命令 , 可以到git安装目录的bin目录下, 执行rake cache:clear RAILS_ENV=production

Gem::LoadError: You have already activated rake 10.5.0, but your Gemfile requires rake 12.0.0. Prepending `bundle exec` to your command may solve this.

如报上述错误,可执行 bundle exec ‘rake cache:clear RAILS_ENV=production’

你可能感兴趣的:(杂记,git,git,push,git,web,git,web不显示文件)