简体   繁体   中英

Capistrano deploy from Git fails with “unpack-objects failed”

How to recover from Capistrano deploy failing on Git with:

fatal: unresolved deltas left after unpacking

fatal: unpack-objects failed

缓存已损坏,在deploy.rb中将缓存设置为false:

set :copy_cache, false

对我来说,运行以下rake任务可以达到目的:

cap git_copy:cleanup

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM