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