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