$ git clone -n http://8.131.229.236/anolis-os/ghc-hspec-expectations /var/lib/mock/dist-an8-dep-build-17638-5366/root/chroot_tmpdir/scmroot/ghc-hspec-expectations Cloning into '/var/lib/mock/dist-an8-dep-build-17638-5366/root/chroot_tmpdir/scmroot/ghc-hspec-expectations'... $ git reset --hard origin/a8 HEAD is now at cf5787a import ghc-hspec-expectations-0.8.2-3.el8