$ git clone -n https://gitee.com/src-opencloudos-rpms/ocpkg /var/lib/mock/dist-oc8-build-67343-28600/root/chroot_tmpdir/scmroot/ocpkg Cloning into '/var/lib/mock/dist-oc8-build-67343-28600/root/chroot_tmpdir/scmroot/ocpkg'... $ git fetch origin c49a8eeaa94d66c6bbe1b5658c656d9055191e30:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/ocpkg * [new ref] c49a8eeaa94d66c6bbe1b5658c656d9055191e30 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c49a8ee fix spec