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