$ git clone -n http://git.inferitos.ru/rpms/ghc-scientific.git /var/lib/mock/inferit-9-epel-build-18525-25705/root/chroot_tmpdir/scmroot/ghc-scientific Cloning into '/var/lib/mock/inferit-9-epel-build-18525-25705/root/chroot_tmpdir/scmroot/ghc-scientific'... $ git fetch origin 2af7ac6:KOJI_FETCH_HEAD fatal: couldn't find remote ref 2af7ac6 $ git reset --hard 2af7ac6 HEAD is now at 2af7ac6 import ghc-scientific-0.3.7.0-2.el9