$ git clone -n https://gitee.com/src-opencloudos-rpms/ocpkg /var/lib/mock/dist-oc9-build-73025-48530/root/chroot_tmpdir/scmroot/ocpkg Cloning into '/var/lib/mock/dist-oc9-build-73025-48530/root/chroot_tmpdir/scmroot/ocpkg'... $ git fetch origin d1093b3445e9182884fbb5373867d59ac18c0196:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/ocpkg * [new ref] d1093b3445e9182884fbb5373867d59ac18c0196 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d1093b3 fix requires