$ git clone -n https://gitee.com/opencloudos-stream/kio-extras.git /var/lib/mock/dist-oc9-epol-build-117875-68570/root/chroot_tmpdir/scmroot/kio-extras Cloning into '/var/lib/mock/dist-oc9-epol-build-117875-68570/root/chroot_tmpdir/scmroot/kio-extras'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/kio-extras * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6c7af1d update