$ git clone -n http://git.inferitos.ru/rpms/ghc-xml.git /var/lib/mock/inferit-9-epel-build-18502-25455/root/chroot_tmpdir/scmroot/ghc-xml Cloning into '/var/lib/mock/inferit-9-epel-build-18502-25455/root/chroot_tmpdir/scmroot/ghc-xml'... $ git fetch origin 516d356:KOJI_FETCH_HEAD fatal: couldn't find remote ref 516d356 $ git reset --hard 516d356 HEAD is now at 516d356 import ghc-xml-1.3.14-22.el9