$ git clone -n https://gitee.com/src-opencloudos-rpms/vim.git /var/lib/mock/dist-oc9-build-51773-14595/root/chroot_tmpdir/scmroot/vim Cloning into '/var/lib/mock/dist-oc9-build-51773-14595/root/chroot_tmpdir/scmroot/vim'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/vim * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2bacbe6 import vim-9.0.1367-3.ocs23