$ git clone -n https://gitee.com/opencloudos-stream/dev86.git /var/lib/mock/dist-oc9-epol-build-90706-59097/root/chroot_tmpdir/scmroot/dev86 Cloning into '/var/lib/mock/dist-oc9-epol-build-90706-59097/root/chroot_tmpdir/scmroot/dev86'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/dev86 * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5796c90 update