$ git clone -n https://gitee.com/src-anolis-os/libxcb.git /var/lib/mock/dist-an8.7-build-269834-64112/root/chroot_tmpdir/scmroot/libxcb Cloning into '/var/lib/mock/dist-an8.7-build-269834-64112/root/chroot_tmpdir/scmroot/libxcb'... $ git reset --hard origin/a8 HEAD is now at ff47374 import libxcb-1.13.1-1.el8.src.rpm