$ git clone -n http://git.inferitos.ru/rpms/bcunit /var/lib/mock/inferit-9_4-aarch64-extras-build-59322-127289/root/chroot_tmpdir/scmroot/bcunit Cloning into '/var/lib/mock/inferit-9_4-aarch64-extras-build-59322-127289/root/chroot_tmpdir/scmroot/bcunit'... $ git fetch origin changed/i9m/bcunit-5.3.84-1.el9.inferit:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 48da84af34c387e4c660c03da1e5e29f1ce7fe79 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/bcunit ! [new tag] changed/i9m/bcunit-5.3.84-1.el9.inferit -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9m/bcunit-5.3.84-1.el9.inferit HEAD is now at 0092801 Update to 5.3.84-1.inferit