$ git clone -n http://8.131.229.236/anolis-os/ghc-yaml /var/lib/mock/dist-an8-dep-build-17787-7653/root/chroot_tmpdir/scmroot/ghc-yaml Cloning into '/var/lib/mock/dist-an8-dep-build-17787-7653/root/chroot_tmpdir/scmroot/ghc-yaml'... $ git reset --hard origin/a8 HEAD is now at a371c11 import ghc-yaml-0.8.25.1-2.el8