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