$ git clone -n https://gitee.com/opencloudos-stream/xcb-proto.git /var/lib/mock/dist-ocs23-python311-build-49929-2149/root/chroot_tmpdir/scmroot/xcb-proto Cloning into '/var/lib/mock/dist-ocs23-python311-build-49929-2149/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