2

レポを複製しようとしていますが、できません。ここに私が得るものがあります:

username@dev:~$ sudo git clone username@localhost:reponame reponame
Initialized empty Git repository in /home/username/reponame/.git/
username@localhost's password:
remote: Counting objects: 1017, done.
remote: Compressing objects: 100% (425/425), done.
remote: Total 1017 (delta 490), reused 967 (delta 467)
Receiving objects: 100% (1017/1017), 18.44 MiB | 26.02 MiB/s, done.
Resolving deltas: 100% (490/490), done.
error: Trying to write ref HEAD with nonexistant object 650847310778421960977df632ede735af9e9b86
fatal: Cannot update the ref 'HEAD'.

git でリポジトリのクローンを作成しようとするとエラーが発生しますが、いくつかの推奨事項がありますが、既存のフォルダーにクローンしようとしているわけではありません - 新しいフォルダーにクローンしようとしているのですが、明らかに追加することはできませんgit リポジトリでさえない何かへのリモート。

別のユーザー名でそれを行うと、問題なく動作します。この新しく作成されたユーザーではありません。

何か案は?

4

1 に答える 1