$ git clone -n https://gitee.com/opencloudos-stream/klavaro.git /var/lib/mock/dist-oc9-epol-build-92434-59318/root/chroot_tmpdir/scmroot/klavaro Cloning into '/var/lib/mock/dist-oc9-epol-build-92434-59318/root/chroot_tmpdir/scmroot/klavaro'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/klavaro * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d85b5f5 package init