$ git clone -n https://gitee.com/opencloudos-stream/vim-fugitive.git /var/lib/mock/dist-oc9-epol-build-99853-60519/root/chroot_tmpdir/scmroot/vim-fugitive Cloning into '/var/lib/mock/dist-oc9-epol-build-99853-60519/root/chroot_tmpdir/scmroot/vim-fugitive'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/vim-fugitive * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b1725f0 package init