$ git clone -n http://git.inferitos.ru/rpms/ghc-tagged.git /var/lib/mock/inferit-9_4-aarch64-extras-build-59700-127293/root/chroot_tmpdir/scmroot/ghc-tagged Cloning into '/var/lib/mock/inferit-9_4-aarch64-extras-build-59700-127293/root/chroot_tmpdir/scmroot/ghc-tagged'... $ git fetch origin 803a0f9:KOJI_FETCH_HEAD fatal: couldn't find remote ref 803a0f9 $ git reset --hard 803a0f9 HEAD is now at 803a0f9 import ghc-tagged-0.8.6.1-2.el9