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