$ git clone -n https://gitee.com/src-opencloudos-rpms/pcs /var/lib/mock/dist-oc8-build-31825-9257/root/chroot_tmpdir/scmroot/pcs Cloning into '/var/lib/mock/dist-oc8-build-31825-9257/root/chroot_tmpdir/scmroot/pcs'... $ git reset --hard origin/oc8 HEAD is now at bfbed5f import pcs-0.10.14-5.oc8