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