最近、Git Bashを最新バージョンに更新しました。リモートサーバにブランチをプッシュしようとすると、エラーメッセージ:git bashがエラーメッセージ "オブジェクトディレクトリが存在しません"を表示します。
$ git push --set-upstream origin bugs/purlin_support_reactions
Counting objects: 41, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (41/41), done.
Writing objects: 100% (41/41), 4.91 KiB | 0 bytes/s, done.
Total 41 (delta 33), reused 0 (delta 0)
remote: error: object directory /192.168.10.1/strengs/strengs_master.git/objects does not exist; check .git/objects/info/alternates.
remote: fatal: unresolved deltas left after unpacking
error: unpack failed: unpack-objects abnormal exit
To //192.168.10.1/strengs/strengs_master.git
! [remote rejected] bugs/purlin_support_reactions -> bugs/purlin_support_reactions (unpacker error)
error: failed to push some refs to '//192.168.10.1/strengs/strengs_master.git'
対象ディレクトリが存在しない(チェック)、check .git/objects/info/alternates
は存在しません。情報にはpacks
ファイルしかありません。
何が問題になる可能性がありますか?
'refs /'を 'bugs/purlin_support_reactions'の前に追加しますか? あなたの "行き先" refspecが奇妙です。これは、 'git branch -a'でリストするものと似ています。 –
git remote -vがうまくいきましたので、これは私のリモートロケーションが正しいことを示しています:$ git remote -v 起源//192.168.10.1/strengs/strengs_master.git(フェッチ) 起源//192.168.10.1/strengs /strengs_master.git(push) – Georgi
これはgitのバグです。私はそれを再現することができます。私はそれを調べます。回避策として、 '\\ 192.168.10.1 \ strengthens 'をドライブ文字の下に、例えば' Z: 'と' Z:/ strengthens_master.git'に押し込むことができます。 – j6t