$ git clone -n http://8.131.229.236/anolis-os/ghc-xml /var/lib/mock/dist-an8-dep-build-17551-4085/root/chroot_tmpdir/scmroot/ghc-xml Cloning into '/var/lib/mock/dist-an8-dep-build-17551-4085/root/chroot_tmpdir/scmroot/ghc-xml'... $ git reset --hard origin/a8 HEAD is now at 8dc7bef import ghc-xml-1.3.14-8.el8