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