$ git clone -n https://gitee.com/src-opencloudos-rpms/vim /var/lib/mock/dist-oc8-build-67451-41485/root/chroot_tmpdir/scmroot/vim Cloning into '/var/lib/mock/dist-oc8-build-67451-41485/root/chroot_tmpdir/scmroot/vim'... $ git fetch origin 246451edbd6f03f643781de6afc836857495b127:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/vim * [new ref] 246451edbd6f03f643781de6afc836857495b127 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 246451e import vim-8.0.1763-19.oc8_6.4