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