$ git clone -n http://git.inferitos.ru/rpms/rust-atty /var/lib/mock/inferit-9-epel-build-25049-42993/root/chroot_tmpdir/scmroot/rust-atty Cloning into '/var/lib/mock/inferit-9-epel-build-25049-42993/root/chroot_tmpdir/scmroot/rust-atty'... $ git fetch origin changed/i9ce/rust-atty-0.2.14-8.el9:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object a7428b1bed259a5ec1249c36dd890c8ce20b0326 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/rust-atty ! [new tag] changed/i9ce/rust-atty-0.2.14-8.el9 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9ce/rust-atty-0.2.14-8.el9 HEAD is now at cff1bde import rust-atty-0.2.14-8.el9