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