修改最后一次提交 git commit --amend -m “” 删除文件:、 git rm <需要删除的文件> 只是删除当前工作目录和暂存区的文件,也就是取消跟踪。在下次提交时不纳入版本管理。 git rm --cached 文件名 只删除暂存区的文件 git rm -f 文件名 //暴力删除, ...
分类:
其他好文 时间:
2017-04-25 11:42:20
阅读次数:
203
Linux以字节显示内存大小 youhaidong@youhaidong-ThinkPad-Edge-E545:~$ free -b total used free shared buffers cached Mem: 3177537536 1761021952 1416515584 8433664 ...
分类:
系统相关 时间:
2017-04-25 10:14:42
阅读次数:
190
Overview(概述) Centralized cache management in HDFS is an explicit caching mechanism that allows users to specify paths to be cached by HDFS. The NameNo... ...
分类:
系统相关 时间:
2017-04-23 16:50:57
阅读次数:
280
$cat/proc/meminfoMemTotal:2052440kB//总内存MemFree:50004kB//空闲内存Buffers:19976kB//给文件的缓冲大小Cached:436412kB//高速缓冲存储器(http://baike.baidu.com/view/496990.htm)使用的大小SwapCached:19864kB//被高速缓冲存储用的交换空间大小Active:1144512kB//活跃使..
分类:
系统相关 时间:
2017-04-20 11:16:08
阅读次数:
230
内存查看 查看内存是否存在瓶颈,使用top指令看比较麻烦,而free命令更为直观: [/home/weber#]free total used free shared buffers cached Mem: 501820 452028 49792 37064 5056 136732 -/+ buff ...
分类:
其他好文 时间:
2017-04-16 18:54:07
阅读次数:
268
“Git 实战教程”实验报告 基本用法(下) “Git 实战教程”实验报告 二、比较内容 1.比较提交 - Git Diff git diff命令的作用是比较修改的或提交的文件内容。 如何查看缓存区内与上次提交之间的差别呢?需要使用--cached参数: 2.比较分支 可以用 git diff 来比 ...
分类:
其他好文 时间:
2017-04-14 00:52:40
阅读次数:
359
直接上解决方法: 1 2 3 git rm -r --cached . git add . git commit -m 'update .gitignore' 解释: .gitignore文件,具体的规则一搜就有.我在使用Git的过程中,明明写好了规则,但问题不起作用,每次还是重复提交,无法忍受.其 ...
分类:
其他好文 时间:
2017-04-07 23:29:25
阅读次数:
172
was cached in the local repository ,resolution will will not be reattempted until the update interval of central has elapsed or updates are forced ...
分类:
其他好文 时间:
2017-04-05 20:06:44
阅读次数:
189
当我们添加某些依赖库(Okhttp、Retrofit)时, Android studio 会报如下错误: Error:A problem occurred configuring project ':app'.> Could not resolve all dependencies for conf ...
分类:
移动开发 时间:
2017-04-01 00:44:27
阅读次数:
645
FMDB使用Cached Statement功能 在FMDB中,Cached Statement功能是一种提高SQLite数据库访问的技术。在SQLite中,所有的SQL语句都会被编译,形成预处理语句Prepared Statements,然后被执行。在SQLite中,提供一个专有结构sqlite3 ...
分类:
数据库 时间:
2017-03-29 15:49:30
阅读次数:
243