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