$ git clone -n https://gitee.com/src-opencloudos-rpms/pcp.git /var/lib/mock/dist-oc8-build-100964-65238/root/chroot_tmpdir/scmroot/pcp Cloning into '/var/lib/mock/dist-oc8-build-100964-65238/root/chroot_tmpdir/scmroot/pcp'... $ git fetch origin c9f4e44bf120e7e878b886002666c96c5e9dcd41:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/pcp * [new ref] c9f4e44bf120e7e878b886002666c96c5e9dcd41 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c9f4e44 import pcp-5.3.7-22.tl3