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