09 2018 档案
摘要:两种情况(场景) 情况一 代码还只在本地,未push到运程仓库,想把代码还原到上一次commit的代码,此时操作为代码撤销 解决方案: 情况二 代码已经push到运程仓库,想把代码还原到上一次提交,此时操作为代码回滚 解决方案: 1)先查看git提交日志,找到上次提交的信息,输入命令 git log
阅读全文
摘要:在Redis运行过程中,报错信息如下: Redis::CommandError (MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands
阅读全文
摘要:安装ruby环境因为官方提供的创建集群的工具是用ruby写的,需要ruby2.2.2+版本支持,ruby安装需要指定openssl。安装openssl 安装ruby 安装rubygems 安装zlib 安装redis库$ gem install redis ERROR: While executin
阅读全文