$ git clone -n http://8.131.229.236/anolis-os/ghc-base-compat /var/lib/mock/dist-an8-dep-build-17566-4205/root/chroot_tmpdir/scmroot/ghc-base-compat Cloning into '/var/lib/mock/dist-an8-dep-build-17566-4205/root/chroot_tmpdir/scmroot/ghc-base-compat'... $ git reset --hard origin/a8 HEAD is now at 293925d import ghc-base-compat-0.9.3-2.el8