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