$ git clone -n https://gitee.com/src-opencloudos-rpms/ansible-pcp /var/lib/mock/dist-oc8-build-31679-9241/root/chroot_tmpdir/scmroot/ansible-pcp Cloning into '/var/lib/mock/dist-oc8-build-31679-9241/root/chroot_tmpdir/scmroot/ansible-pcp'... $ git reset --hard origin/oc8 HEAD is now at a55420b import ansible-pcp-2.2.5-1.oc8