$ git clone -n https://gitee.com/src-anolis-os/libselinux.git /var/lib/mock/dist-lifsea8-build-75596-39259/root/chroot_tmpdir/scmroot/libselinux Cloning into '/var/lib/mock/dist-lifsea8-build-75596-39259/root/chroot_tmpdir/scmroot/libselinux'... $ git reset --hard origin/a8 HEAD is now at ec90992 update to libselinux-2.9-5.el8.src.rpm