git:
config--globalcolor.uitrue:让代码输出有颜色
init:创建一个空版本库
addfilename:把文件添加到暂存区
commitfilename-m"描述":把修改提交到版本库
diff[HEAD~n]:对比工作区和暂存区[版本库]的差别
rmfilename:把文件从版本库中删除
checkout--<file>:把文件..
分类:
其他好文 时间:
2015-11-24 18:36:48
阅读次数:
198
diff 命令是 linux上非常重要的工具,用于比较文件的内容,特别是比较两个版本不同的文件以找到改动的地方。diff在命令行中打印每一个行的改动。最新版本的diff还支持二进制文件。diff程序的输出被称为补丁 (patch),因为Linux系统中还有一个patch程序,可以根据diff的输出将...
分类:
系统相关 时间:
2015-11-24 12:45:06
阅读次数:
230
题目:Given an array of integers and an integerk, find out whether there are two distinct indicesiandjin the array such thatnums[i] = nums[j]and the diff...
分类:
其他好文 时间:
2015-11-24 06:19:53
阅读次数:
145
大熊猫猪·侯佩原创或翻译作品.欢迎转载,转载请注明出处.
如果觉得写的不好请告诉我,如果觉得不错请多多支持点赞.谢谢! hopy ;)
为了暂时不影响原来的cat移动方法,我们在CatSprite.m中新建一个移动方法,内容如下,其中考虑了与地图的碰撞情况:-(void)moveTowardOneTile:(CGPoint)location{
CGPoint diff = ccpSub...
分类:
其他好文 时间:
2015-11-21 11:57:30
阅读次数:
217
来源:https://github.com/galad87/HandBrake-QuickSync-Mac/commit/2c1332958f7095c640cbcbcb45ffc955739d5945#diff-72d938f71df3506b8ad74530b39e7a0bR83Skip to ...
分类:
数据库 时间:
2015-11-19 01:47:35
阅读次数:
507
Problem - 4325 http://acm.hdu.edu.cn/showproblem.php?pid=4325Problem DescriptionAs is known to all, the blooming time and duration varies between diff...
分类:
其他好文 时间:
2015-11-18 19:39:11
阅读次数:
236
1.array_udiff_action 和 array_diff_uaction①:array array_udiff_assoc ( array $array1 , array $array2 [, array $ ... ], callable $data_compare_func )arra...
分类:
编程语言 时间:
2015-11-16 17:22:53
阅读次数:
144
问题描述:github下载的Demo,很多时候使用到CocoaPods,有的时候因为依赖关系或者版本问题不能编译运行。出现例如The sandbox is not sync with the Podfile.lock问题时候,如下所示diff: /../Podfile.lock: No such f...
分类:
移动开发 时间:
2015-11-16 12:18:23
阅读次数:
209
一、简介 diff 命令用于比较文件的内容,是svn、cvs、git等版本控制工具不可或缺的一部分。 二、语法 -a或--text diff预设只会逐行比较文本文件。 -b或--ignore-space-change 不检查空格字符的不同。 -B或--ignore-blank-lines 不检查空白...
分类:
系统相关 时间:
2015-11-14 13:48:10
阅读次数:
418
1、origin/master : 一个叫 origin 的远程库的 master 分支2、HEAD指向当前工作的branch,master不一定指向当前工作的branch3、git push origin 本地分支A : 远程分支B ---> push 本地分支A到远程库origin的分支B 首先...
分类:
其他好文 时间:
2015-11-14 12:25:57
阅读次数:
353