$ git clone -n https://gitee.com/src-anolis-os/libXp.git /var/lib/mock/dist-an8-poc-build-102618-45599/root/chroot_tmpdir/scmroot/libXp Cloning into '/var/lib/mock/dist-an8-poc-build-102618-45599/root/chroot_tmpdir/scmroot/libXp'... $ git reset --hard origin/a8-poc HEAD is now at 615a965 import libXp-1.0.3-3.el8.src.rpm