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