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