$ git clone -n http://8.131.229.236/anolis-os/ghc-x509-validation /var/lib/mock/dist-an8-dep-build-17722-6673/root/chroot_tmpdir/scmroot/ghc-x509-validation Cloning into '/var/lib/mock/dist-an8-dep-build-17722-6673/root/chroot_tmpdir/scmroot/ghc-x509-validation'... $ git reset --hard origin/a8 HEAD is now at d43dc6f import ghc-x509-validation-1.6.9-3.el8