$ git clone -n https://gitee.com/opencloudos-stream/gmm.git /var/lib/mock/dist-ocs23-epol9-build-217720-16432/root/chroot_tmpdir/scmroot/gmm Cloning into '/var/lib/mock/dist-ocs23-epol9-build-217720-16432/root/chroot_tmpdir/scmroot/gmm'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/gmm * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6ce1b94 update