$ git clone -n http://git.inferitos.ru/rpms/imaptest /var/lib/mock/inferit-8_10-bootstrap-build-54713-117842/root/chroot_tmpdir/scmroot/imaptest Cloning into '/var/lib/mock/inferit-8_10-bootstrap-build-54713-117842/root/chroot_tmpdir/scmroot/imaptest'... $ git fetch origin changed/i9/imaptest-20210507-2.el9:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 2a56da920f0d5f979469bfc2da27dcf02b2fc1ba to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/imaptest ! [new tag] changed/i9/imaptest-20210507-2.el9 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9/imaptest-20210507-2.el9 HEAD is now at bc1d9c4 import imaptest-20210507-2.el9