【问题标题】:Unable to Read SHA1 File while Deploying部署时无法读取 SHA1 文件
【发布时间】:2013-04-11 04:38:11
【问题描述】:

尝试通过 Capistrano 进行部署时,出现以下错误。这发生在我已经工作了一年多的回购中,过去一切都很顺利。

关于如何修复回购的任何想法?

error: unable to find 3b1ab2a2fa39f4ffc4a53a7888223522195e2506
error: unable to read sha1 file of .gitignore (3b1ab2a2fa39f4ffc4a53a7888223522195e2506)
error: unable to find 6cb9767572171070c88d5792022edd855f63e57d
error: unable to read sha1 file of Gemfile (6cb9767572171070c88d5792022edd855f63e57d)
error: unable to find 63303cc69f301a4d691cd4a2fb95005996a1d5fd
error: unable to read sha1 file of app/controllers/mobile_controller.rb (63303cc69f301a4d691cd4a2fb95005996a1d5fd)
error: unable to find 57ca529579101e75240e78985419a73c89a6ba44

..

Checking out files: 100% (5634/5634), done.
fatal: Could not reset index file to revision 'db369d7ee2aa96750ff1fd61f53ec049038a74eb'.

【问题讨论】:

    标签: ruby-on-rails ruby git github capistrano


    【解决方案1】:

    删除 /tmp/deploy-cache/ 修复问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-12-11
      • 1970-01-01
      • 2020-05-04
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多