0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

capistranoでデプロイするときにgitのエラー

Posted at

よくあるデプロイコマンド
$ cap staging deploy
でエラー、あまり良く見たこと無いメッセージ、しかもついこの間までデプロイできてたのに…

00:07 git:update
      01 git remote set-url origin git@bitbucket.org:hogehoge/hoge.git
    ✔ 01 hoge@foo.com 0.008s
      02 git remote update --prune
      02 Fetching origin
      02 error: rev-list died of signal 11
      02 error: rev-list died of signal 11
      02 error: bitbucket.org:hogehoge/hoge.git did not send all necessary objects
      02
      02 error: Could not fetch origin

なんじゃこりゃ。エラーメッセージでいろいろググってもあまりこれ!って解決方法は出てこない。

・リモートでgitを再インストール
・gemを全部アップデート

で解決した。アップデートで解決するやつってエラーわかりにくいわ…

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?