$ git clone -n https://gitee.com/opencloudos-stream/wlcs.git /var/lib/mock/dist-oc9-epol-build-84875-57404/root/chroot_tmpdir/scmroot/wlcs Cloning into '/var/lib/mock/dist-oc9-epol-build-84875-57404/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