$ git clone -n https://gitee.com/src-opencloudos-rpms/ocpkg /var/lib/mock/dist-oc9-build-72871-48301/root/chroot_tmpdir/scmroot/ocpkg Cloning into '/var/lib/mock/dist-oc9-build-72871-48301/root/chroot_tmpdir/scmroot/ocpkg'... $ git fetch origin 2ae771bda020a0f17efc655d5b34b78532279e16:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/ocpkg * [new ref] 2ae771bda020a0f17efc655d5b34b78532279e16 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2ae771b oc9 install