$ git clone -n https://gitee.com/opencloudos-stream/libvterm.git /var/lib/mock/dist-ocs23-build-44540-2059/root/chroot_tmpdir/scmroot/libvterm Cloning into '/var/lib/mock/dist-ocs23-build-44540-2059/root/chroot_tmpdir/scmroot/libvterm'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/libvterm * [new ref] HEAD -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0bb323e update