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