$ git clone -n https://gitee.com/src-anolis-os/xorg-x11-proto-devel /var/lib/mock/dist-an8.7-build-139878-53152/root/chroot_tmpdir/scmroot/xorg-x11-proto-devel Cloning into '/var/lib/mock/dist-an8.7-build-139878-53152/root/chroot_tmpdir/scmroot/xorg-x11-proto-devel'... $ git reset --hard origin/a8 HEAD is now at 4910463 update to xorg-x11-proto-devel-2020.1-3.el8.src.rpm