$ git clone -n https://gitee.com/src-opencloudos-rpms/libsemanage /var/lib/mock/dist-oc8-build-32537-9797/root/chroot_tmpdir/scmroot/libsemanage Cloning into '/var/lib/mock/dist-oc8-build-32537-9797/root/chroot_tmpdir/scmroot/libsemanage'... $ git reset --hard origin/oc8 HEAD is now at 8969cc5 import libsemanage-2.9-9.tl3