05 2019 档案

摘要:1.首先使用git log找到需要回退的版本号: 比如:git log commit f3f695f194b251e5b3f940dd9003a72275495669 Author: lqd001 Date: Mon May 27 21:26:58 2019 +0800 add 统计 2.使用git 阅读全文
posted @ 2019-05-30 17:14 liuqd001 阅读(344) 评论(0) 推荐(0) 编辑
摘要:出现这个问题是因为远程代码与本地没有任何相关的历史,往往出现在直接拷贝了一份代码,然后想与远程建立联系的情况下。 可以使用以下命令: 如果是在push则: git push origin master --allow-unrelated-histories 如果实在pull则: git pull o 阅读全文
posted @ 2019-05-26 00:19 liuqd001 阅读(189) 评论(0) 推荐(0) 编辑
摘要:命令如下: git fetch --all git reset --hard origin/master git pull 阅读全文
posted @ 2019-05-26 00:14 liuqd001 阅读(2935) 评论(0) 推荐(0) 编辑
摘要:今天居然碰到了这个问题,解决方案如下: 1.查看添加的公钥 命令:ssh-add -l 如果返回结果为:Could not open a connection to your authentication agent.则进行第二步 2.打开身份验证代理,依次执行 ssh-agent eval `ss 阅读全文
posted @ 2019-05-26 00:02 liuqd001 阅读(1217) 评论(0) 推荐(0) 编辑
摘要:方法已经放在下面了:/** * 添加图片水印 * * @param $picPath * @param $logoPath */private function _addWaterMark($picPath, $logoPath){ //如果图片不存在或者logo不存在则不处理 if (!file_ 阅读全文
posted @ 2019-05-22 14:58 liuqd001 阅读(1583) 评论(0) 推荐(0) 编辑
摘要:CSV 文件格式 每条记录占一行 (但字段中有换行符的情况,一行也会变成多行) 以逗号为分隔符 逗号前后的空格会被忽略 字段中包含有逗号,该字段必须用双引号括起来 字段中包含有换行符,该字段必须用双引号括起来 字段前后包含有空格,该字段必须用双引号括起来 字段中的双引号用两个双引号表示 字段中如果有 阅读全文
posted @ 2019-05-20 11:51 liuqd001 阅读(2357) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示