$ git clone -n http://8.131.229.236/anolis-os/ghc-tf-random /var/lib/mock/dist-an8-dep-build-17557-4145/root/chroot_tmpdir/scmroot/ghc-tf-random Cloning into '/var/lib/mock/dist-an8-dep-build-17557-4145/root/chroot_tmpdir/scmroot/ghc-tf-random'... $ git reset --hard origin/a8 HEAD is now at e4dacc8 import ghc-tf-random-0.5-10.el8