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