$ git clone -n http://git.inferitos.ru/rpms/vlc /var/lib/mock/inferit-10_0-extras-build-86748-158491/root/chroot_tmpdir/scmroot/vlc Cloning into '/var/lib/mock/inferit-10_0-extras-build-86748-158491/root/chroot_tmpdir/scmroot/vlc'... $ git fetch origin changed/i10fe/vlc-3.0.21-11.el10:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 8f700fe1baafedf383db5402f48718ec5979ec75 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/vlc ! [new tag] changed/i10fe/vlc-3.0.21-11.el10 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i10fe/vlc-3.0.21-11.el10 HEAD is now at b257d7e Update to 3.0.21-11