$ git clone -n http://git.inferitos.ru/rpms/ghc-x509-system.git /var/lib/mock/inferit-9_4-aarch64-extras-build-59735-127293/root/chroot_tmpdir/scmroot/ghc-x509-system Cloning into '/var/lib/mock/inferit-9_4-aarch64-extras-build-59735-127293/root/chroot_tmpdir/scmroot/ghc-x509-system'... $ git fetch origin df57fe2:KOJI_FETCH_HEAD fatal: couldn't find remote ref df57fe2 $ git reset --hard df57fe2 HEAD is now at df57fe2 import ghc-x509-system-1.6.7-1.el9