$ git clone -n https://gitee.com/zhonglingh/grpc.git /var/lib/mock/dist-an23-epao-build-302278-65985/root/chroot_tmpdir/scmroot/grpc Cloning into '/var/lib/mock/dist-an23-epao-build-302278-65985/root/chroot_tmpdir/scmroot/grpc'... $ git fetch origin c8766bc7eb9374984280c997eab5b50d18ba1a6d:KOJI_FETCH_HEAD From https://gitee.com/zhonglingh/grpc * [new ref] c8766bc7eb9374984280c997eab5b50d18ba1a6d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c8766bc init from upstream