摘要: 两种方式: 1. git revert 优点:记录撤回前的操作。 缺点:如果存在两个或多个父分支不能恢复。 git revert 要恢复的版本号 git push origin 分支 2. git reset --hard 优/缺点:记录中删除了提交过的记录。 git reset --hard 要恢 阅读全文
posted @ 2022-02-17 10:58 青叶煮酒 阅读(514) 评论(0) 推荐(0) 编辑
摘要: 注1:参考代码取自 grpc 源码目录下的 examples\cpp\helloworld 注2:操作系统 CentOS 7.6 0. 准备工作 用管理员权限先装好 gcc 相关开发工具包,安装命令如下: yum -y install centos-release-scl yum -y instal 阅读全文
posted @ 2022-02-17 10:57 青叶煮酒 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 注1:参考代码取自 grpc 源码目录下的 examples\cpp\helloworld 注2:操作系统 Ubuntu 16.04 1. 安装 protoc 工具 下载 Grpc_v1.43.0_SetupFile.zip 文件,解压到任意目录下载链接:https://pan.baidu.com/ 阅读全文
posted @ 2022-02-17 10:56 青叶煮酒 阅读(310) 评论(0) 推荐(0) 编辑