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