$ git clone -n http://git.inferitos.ru/rpms/imaptest.git /var/lib/mock/inferit-9_3-bootstrap-build-33032-61352/root/chroot_tmpdir/scmroot/imaptest Cloning into '/var/lib/mock/inferit-9_3-bootstrap-build-33032-61352/root/chroot_tmpdir/scmroot/imaptest'... $ git fetch origin bc1d9c4:KOJI_FETCH_HEAD fatal: couldn't find remote ref bc1d9c4 $ git reset --hard bc1d9c4 HEAD is now at bc1d9c4 import imaptest-20210507-2.el9