$ git clone -n https://gitee.com/src-anolis-os/libXcomposite.git /var/lib/mock/dist-an23-build-178658-59118/root/chroot_tmpdir/scmroot/libXcomposite Cloning into '/var/lib/mock/dist-an23-build-178658-59118/root/chroot_tmpdir/scmroot/libXcomposite'... $ git reset --hard origin/a23 HEAD is now at 571d2e8 0.4.6