$ git clone -n https://gitee.com/src-anolis-os/libmbim.git /var/lib/mock/dist-an23-build-143279-57615/root/chroot_tmpdir/scmroot/libmbim Cloning into '/var/lib/mock/dist-an23-build-143279-57615/root/chroot_tmpdir/scmroot/libmbim'... $ git reset --hard origin/a23 HEAD is now at eafe04a optimise spec file & add doc package