$ git clone -n https://gitee.com/opencloudos-stream/ocaml.git /var/lib/mock/dist-ocs23-build-12930-849/root/chroot_tmpdir/scmroot/ocaml Cloning into '/var/lib/mock/dist-ocs23-build-12930-849/root/chroot_tmpdir/scmroot/ocaml'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/ocaml * [new ref] -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4ac6c29 !1 update to 5.0.0 Merge pull request !1 from abushwang/master