$ git clone -n https://gitee.com/src-anolis-os/libsemanage.git /var/lib/mock/dist-an23-build-78390-40570/root/chroot_tmpdir/scmroot/libsemanage Cloning into '/var/lib/mock/dist-an23-build-78390-40570/root/chroot_tmpdir/scmroot/libsemanage'... $ git reset --hard origin/a23 HEAD is now at 7f6db40 init from upstream 3.3