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