$ git clone -n https://gitee.com/src-opencloudos-rpms/ocpkg /var/lib/mock/dist-oc8-build-72983-48400/root/chroot_tmpdir/scmroot/ocpkg Cloning into '/var/lib/mock/dist-oc8-build-72983-48400/root/chroot_tmpdir/scmroot/ocpkg'... $ git fetch origin ad0078127d7360b086d8e684a7c8225dc713abff:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/ocpkg * [new ref] ad0078127d7360b086d8e684a7c8225dc713abff -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ad00781 0.6.9