$ git clone -n https://gitee.com/src-anolis-os/xorg-x11-proto-devel.git /var/lib/mock/dist-an8.7-build-238065-62522/root/chroot_tmpdir/scmroot/xorg-x11-proto-devel Cloning into '/var/lib/mock/dist-an8.7-build-238065-62522/root/chroot_tmpdir/scmroot/xorg-x11-proto-devel'... $ git reset --hard 82aaf59468050e0354919abf3a50ee7fef9ed21e HEAD is now at 82aaf59 update to xorg-x11-proto-devel-2021.4-2.el9.src.rpm