$ git clone -n https://gitee.com/src-anolis-os/libselinux.git /var/lib/mock/dist-an23-build-143307-57615/root/chroot_tmpdir/scmroot/libselinux Cloning into '/var/lib/mock/dist-an23-build-143307-57615/root/chroot_tmpdir/scmroot/libselinux'... $ git reset --hard origin/a23 HEAD is now at 87c3f65 optimise spec file