我使用Capistrano将代码部署到远程机器上,但是出现了以下错误。我该怎么解决这个问题?
executing locally: "git ls-remote git@github.com:mycompany/foo.git staging"
command finished in 468ms
* getting (via checkout) revision df3d0367fd021d83f881f5d7261dba3f891bca22 to /tmp/20130503165924
executing locally: git clone -q --depth 1 git@github.com:mycompany/foo.git /tmp/20130503165924 && cd /tmp/20130503165924 && git checkout -q -b deploy df3d0367fd021d83f881f5d7261dba3f891bca22
fatal: reference is not a tree: df3d0367fd021d83f881f5d7261dba3f891bca22
git submodule sync
git submodule update
。 - sites