$ git clone -n https://gitee.com/src-anolis-os/libXrandr.git /var/lib/mock/dist-an8-poc-build-102620-45599/root/chroot_tmpdir/scmroot/libXrandr Cloning into '/var/lib/mock/dist-an8-poc-build-102620-45599/root/chroot_tmpdir/scmroot/libXrandr'... $ git reset --hard origin/a8-poc HEAD is now at 57012e3 update to libXrandr-1.5.2-1.el8.src.rpm