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