$ git clone -n http://8.131.229.236/anolis-os/ghc-regex-base /var/lib/mock/dist-an8-dep-build-17578-4393/root/chroot_tmpdir/scmroot/ghc-regex-base Cloning into '/var/lib/mock/dist-an8-dep-build-17578-4393/root/chroot_tmpdir/scmroot/ghc-regex-base'... $ git reset --hard origin/a8 HEAD is now at e4b11dc import ghc-regex-base-0.93.2-39.el8