$ git clone -n https://gitee.com/src-anolis-os/libwebp.git /var/lib/mock/dist-an23-build-253305-63513/root/chroot_tmpdir/scmroot/libwebp Cloning into '/var/lib/mock/dist-an23-build-253305-63513/root/chroot_tmpdir/scmroot/libwebp'... $ git reset --hard origin/a23 HEAD is now at 0a2561a Optimize the spec