$ git clone -n http://8.131.229.236/anolis-os/ghc-http-types /var/lib/mock/dist-an8-dep-build-17536-3931/root/chroot_tmpdir/scmroot/ghc-http-types Cloning into '/var/lib/mock/dist-an8-dep-build-17536-3931/root/chroot_tmpdir/scmroot/ghc-http-types'... $ git reset --hard origin/a8 HEAD is now at 02be327 import ghc-http-types-0.9.1-7.el8