执行 git submodule update --init 时出错:
正克隆到 'protobuf'... Permission denied (publickey). fatal: Could not read from remote repository.
Pleasemake sure you have the correct access rights and the repository exists.
解决办法:
进入项目根目录:
sudo gedit .gitmodules
将对应项的git url,替换为https方式
如:将url = git@github.com:google/protobuf 改为https://github.com/google/protobuf.git