$ git clone -n http://git.inferitos.ru/rpms/ghc-attoparsec.git /var/lib/mock/inferit-9_4-aarch64-extras-build-59520-127289/root/chroot_tmpdir/scmroot/ghc-attoparsec Cloning into '/var/lib/mock/inferit-9_4-aarch64-extras-build-59520-127289/root/chroot_tmpdir/scmroot/ghc-attoparsec'... $ git fetch origin ad012a3:KOJI_FETCH_HEAD fatal: couldn't find remote ref ad012a3 $ git reset --hard ad012a3 HEAD is now at ad012a3 import ghc-attoparsec-0.13.2.5-2.el9