$ git clone -n https://gitee.com/src-anolis-os/libXpm.git /var/lib/mock/dist-an23-build-200608-60969/root/chroot_tmpdir/scmroot/libXpm Cloning into '/var/lib/mock/dist-an23-build-200608-60969/root/chroot_tmpdir/scmroot/libXpm'... $ git reset --hard origin/a23 HEAD is now at 48fc760 3.5.15