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