$ git clone -n http://git.inferitos.ru/rpms/ghc-setenv.git /var/lib/mock/inferit-9-epel-build-18849-27091/root/chroot_tmpdir/scmroot/ghc-setenv Cloning into '/var/lib/mock/inferit-9-epel-build-18849-27091/root/chroot_tmpdir/scmroot/ghc-setenv'... $ git fetch origin 0c8eb66:KOJI_FETCH_HEAD fatal: couldn't find remote ref 0c8eb66 $ git reset --hard 0c8eb66 HEAD is now at 0c8eb66 import ghc-setenv-0.1.1.3-22.el9