$ git clone -n http://git.inferitos.ru/rpms/libdb /var/lib/mock/inferit-10_0-extras-build-84988-156375/root/chroot_tmpdir/scmroot/libdb Cloning into '/var/lib/mock/inferit-10_0-extras-build-84988-156375/root/chroot_tmpdir/scmroot/libdb'... $ git fetch origin changed/i10ce/libdb-5.3.28-64.el10:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object e10a032ff07c229bd8de28d81dd32bf07f6f1b6e to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/libdb ! [new tag] changed/i10ce/libdb-5.3.28-64.el10 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i10ce/libdb-5.3.28-64.el10 HEAD is now at 7ec9f62 import libdb-5.3.28-64.el10