2017-04-28 09:04:04
2017-04-28 09:03:59
2017-04-27 09:03:47
如何修改 git 的提交
情况是这样子的: 首先,我用 git add 把我的一个文件夹 添加到 缓存区 里面,然后再 git commit -m "balabala" 。然后,就在我即将把这个 git push 的时候,我发现我忘记添加一个 .gitignore 文件,所以我就在文...
0
1
1730
2017-04-27 09:03:19
redis集群 - 代码里如何更好的连接redis 3.0集群?
假设现在有一个redis 3.0集群,配置是3主(A、B、C)3从(A1、B1、C1) 代码里通过机器A的IP地址来连接集群,当A机器挂了,那么A1会自动升级为master 但这时候,代码依然是通过机器A的IP地址来连接集群的,这样就...
0
1
1053
2017-04-27 09:02:47
2017-04-27 09:02:09
2017-04-27 09:01:58
2017-04-26 09:03:29
2017-04-26 09:02:04
2017-04-26 09:01:22
mongodb - mongod通过配置文件无法启动
mongodb是通过brew下载的,在/usr/local/etc下有个mongod.conf配置文件。 现在我想通过命令mongod --config /usr/local/etc/mongod.conf 来启动mongod 。 提示错误Error reading config file: No such file or di...
0
2
664