$ git clone -n http://8.131.229.236/anolis-os/ghc-clock /var/lib/mock/dist-an8-dep-build-17587-4549/root/chroot_tmpdir/scmroot/ghc-clock Cloning into '/var/lib/mock/dist-an8-dep-build-17587-4549/root/chroot_tmpdir/scmroot/ghc-clock'... $ git reset --hard origin/a8 HEAD is now at 9e25adb import ghc-clock-0.7.2-7.el8