$ git clone -n https://gitee.com/src-opencloudos-rpms/papi /var/lib/mock/dist-oc8-build-58084-15890/root/chroot_tmpdir/scmroot/papi Cloning into '/var/lib/mock/dist-oc8-build-58084-15890/root/chroot_tmpdir/scmroot/papi'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/papi * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 58cd910 import papi-5.6.0-19.tl3