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