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