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