$ git clone -n http://git.inferitos.ru/rpms/libde265 /var/lib/mock/inferit-10_0-extras-build-83891-154920/root/chroot_tmpdir/scmroot/libde265 Cloning into '/var/lib/mock/inferit-10_0-extras-build-83891-154920/root/chroot_tmpdir/scmroot/libde265'... $ git fetch origin changed/i10fe/libde265-1.0.15-2.el10:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 2b50a4275a8af264a030da1e7f6a57b9c1e07385 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/libde265 ! [new tag] changed/i10fe/libde265-1.0.15-2.el10 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i10fe/libde265-1.0.15-2.el10 HEAD is now at 40a1c2e import libde265-1.0.15-2.el10