部署时无法读取SHA1文件

问题描述:

尝试通过Capistrano进行部署时,出现以下错误。这是发生在我已经工作了一年多的回购协议上,过去一切都一帆风顺。部署时无法读取SHA1文件

关于如何解决repo的任何想法?

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'. 

删除的/ tmp /部署缓存/固定的问题。