$ git clone -n https://gitee.com/src-opencloudos-rpms/grpc.git /var/lib/mock/dist-oc9-build-120173-71043/root/chroot_tmpdir/scmroot/grpc Cloning into '/var/lib/mock/dist-oc9-build-120173-71043/root/chroot_tmpdir/scmroot/grpc'... $ git fetch origin b41631660102d23d7d1c0b5c9c10d648dbf8cd93:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/grpc * [new ref] b41631660102d23d7d1c0b5c9c10d648dbf8cd93 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b416316 import grpc-1.56.2-9.tl4