$ git clone -n https://gitee.com/src-opencloudos-rpms/pcp.git /var/lib/mock/dist-oc8-build-38053-12270/root/chroot_tmpdir/scmroot/pcp Cloning into '/var/lib/mock/dist-oc8-build-38053-12270/root/chroot_tmpdir/scmroot/pcp'... $ git reset --hard origin/oc8 HEAD is now at c03c394 import pcp-5.3.7-16.tl3