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