$ git clone -n http://git.inferitos.ru/rpms/cockpit-msvsphere-usbguard /var/lib/mock/inferit-9_5-extras-build-105163-204019/root/chroot_tmpdir/scmroot/cockpit-msvsphere-usbguard Cloning into '/var/lib/mock/inferit-9_5-extras-build-105163-204019/root/chroot_tmpdir/scmroot/cockpit-msvsphere-usbguard'... $ git fetch origin changed/i9ce/cockpit-msvsphere-usbguard-1.0.0-1.el9:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object d5651ceccc78620ec08ad9bad496d57182515884 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/cockpit-msvsphere-usbguard ! [new tag] changed/i9ce/cockpit-msvsphere-usbguard-1.0.0-1.el9 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9ce/cockpit-msvsphere-usbguard-1.0.0-1.el9 HEAD is now at 45be842 import cockpit-msvsphere-usbguard-1.0.0-1.el9