$ git clone -n https://gitee.com/src-anolis-os/SDL2.git /var/lib/mock/dist-an23-build-213930-61968/root/chroot_tmpdir/scmroot/SDL2 Cloning into '/var/lib/mock/dist-an23-build-213930-61968/root/chroot_tmpdir/scmroot/SDL2'... $ git reset --hard origin/a23 HEAD is now at 6d8fbe8 2.26.3