$ git clone -n https://gitee.com/src-anolis-os/xrandr.git /var/lib/mock/dist-an23-build-251627-63428/root/chroot_tmpdir/scmroot/xrandr Cloning into '/var/lib/mock/dist-an23-build-251627-63428/root/chroot_tmpdir/scmroot/xrandr'... $ git reset --hard origin/a23 HEAD is now at ebd36a9 Refactor the specfile