$ git clone -n https://gitee.com/src-opencloudos-rpms/libselinux.git /var/lib/mock/dist-oc8-build-38472-12484/root/chroot_tmpdir/scmroot/libselinux Cloning into '/var/lib/mock/dist-oc8-build-38472-12484/root/chroot_tmpdir/scmroot/libselinux'... $ git reset --hard origin/oc8 HEAD is now at 507a261 import libselinux-2.9-8.tl3