$ git clone -n https://gitee.com/src-anolis-os/xcb-proto.git /var/lib/mock/dist-an23.3-build-424462-72934/root/chroot_tmpdir/scmroot/xcb-proto Cloning into '/var/lib/mock/dist-an23.3-build-424462-72934/root/chroot_tmpdir/scmroot/xcb-proto'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/xcb-proto * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 04a8615 update to 1.17.0 from 1.16.0