$ git clone -n https://gitee.com/src-opencloudos-rpms/policycoreutils.git /var/lib/mock/dist-oc8-build-38522-12507/root/chroot_tmpdir/scmroot/policycoreutils Cloning into '/var/lib/mock/dist-oc8-build-38522-12507/root/chroot_tmpdir/scmroot/policycoreutils'... $ git reset --hard origin/oc8 HEAD is now at b19ff18 import policycoreutils-2.9-24.tl3