$ git clone -n http://git.inferitos.ru/rpms/bats /var/lib/mock/inferit-10_0-extras-build-89012-161851/root/chroot_tmpdir/scmroot/bats Cloning into '/var/lib/mock/inferit-10_0-extras-build-89012-161851/root/chroot_tmpdir/scmroot/bats'... $ git fetch origin changed/i10ce/bats-1.11.1-1.el10:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 6879751753eda6ced60f1c8aaa2de9488a0ff0cb to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/bats ! [new tag] changed/i10ce/bats-1.11.1-1.el10 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i10ce/bats-1.11.1-1.el10 HEAD is now at 511f46c import bats-1.11.1-1.el10