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