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