$ git clone -n https://gitee.com/src-anolis-os/libXdamage.git /var/lib/mock/dist-an23-build-178669-59118/root/chroot_tmpdir/scmroot/libXdamage Cloning into '/var/lib/mock/dist-an23-build-178669-59118/root/chroot_tmpdir/scmroot/libXdamage'... $ git reset --hard origin/a23 HEAD is now at c2d1526 New version 1.1.6