$ git clone -n http://git.inferitos.ru/rpms/rust-bstr0.2 /var/lib/mock/inferit-9_4-aarch64-extras-build-62970-132050/root/chroot_tmpdir/scmroot/rust-bstr0.2 Cloning into '/var/lib/mock/inferit-9_4-aarch64-extras-build-62970-132050/root/chroot_tmpdir/scmroot/rust-bstr0.2'... $ git fetch origin changed/i9ce/rust-bstr0.2-0.2.17-1.el9:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 676b69f94fb352db13ef852dd781a0441154e8b6 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/rust-bstr0.2 ! [new tag] changed/i9ce/rust-bstr0.2-0.2.17-1.el9 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9ce/rust-bstr0.2-0.2.17-1.el9 HEAD is now at 4025562 import rust-bstr0.2-0.2.17-1.el9