$ git clone -n http://8.131.229.236/anolis-os/ghc-text /var/lib/mock/dist-an8-dep-build-17414-3321/root/chroot_tmpdir/scmroot/ghc-text Cloning into '/var/lib/mock/dist-an8-dep-build-17414-3321/root/chroot_tmpdir/scmroot/ghc-text'... $ git reset --hard origin/a8 HEAD is now at 6766c44 import ghc-text-1.2.2.2-2.el8