$ git clone -n http://git.inferitos.ru/rpms/trivy /var/lib/mock/inferit-9_5-extras-build-84954-156122/root/chroot_tmpdir/scmroot/trivy Cloning into '/var/lib/mock/inferit-9_5-extras-build-84954-156122/root/chroot_tmpdir/scmroot/trivy'... $ git fetch origin changed/i9/trivy-0.55.2-1.el9:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 8974d7a22a9388d55a1a6e04d8019904a944dd83 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/trivy ! [new tag] changed/i9/trivy-0.55.2-1.el9 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9/trivy-0.55.2-1.el9 HEAD is now at 6e63887 import trivy-0.55.2-1.el9