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