$ git clone -n https://gitee.com/src-opencloudos-rpms/papi /var/lib/mock/dist-oc8-build-30727-9148/root/chroot_tmpdir/scmroot/papi Cloning into '/var/lib/mock/dist-oc8-build-30727-9148/root/chroot_tmpdir/scmroot/papi'... $ git reset --hard origin/oc8 HEAD is now at 33c2691 import papi-5.6.0-16.oc8