$ git clone -n https://gitee.com/src-opencloudos-rpms/pcp /var/lib/mock/dist-oc8-build-30660-9139/root/chroot_tmpdir/scmroot/pcp Cloning into '/var/lib/mock/dist-oc8-build-30660-9139/root/chroot_tmpdir/scmroot/pcp'... $ git reset --hard origin/oc8 HEAD is now at 34b8c7c import pcp-5.3.7-7.oc8