1. Git概念1.1. Git库中由三部分组成 Git 仓库就是那个.git 目录,其中存放的是我们所提交的文档索引内容,Git 可基于文档索引内容对其所管理的文档进行内容追踪,从而实现文档的版本控制。.git目录位于工作目录内。1) 工作目录:用户本地的目录;2) Index(索引):将工作目录...
分类:
其他好文 时间:
2014-06-27 19:26:15
阅读次数:
202
gerrit是不会解决冲突的,如果两个人同时改了一个文件的同一行,就会冲突,你将会看到Review in Progress并且最下面会有Your change could not be merged due to a path conflict.如果在冲突提交者机器上解决远程冲突cd demogit...
分类:
其他好文 时间:
2014-06-27 15:34:34
阅读次数:
217
git提交代码时,出现这个错误“error: The requested URL returned error: 403 Forbidden while accessing https” 解决方法: 编辑.git文件夹下的config文件就可以。vim .git/config#改动对于的...
分类:
数据库 时间:
2014-06-26 23:42:11
阅读次数:
2062
public T Clone(T RealObject){ using (System.IO.Stream objectStream = new System.IO.MemoryStream()) { System.Runtime.Serialization.IFormatter formatter...
分类:
其他好文 时间:
2014-06-26 23:06:46
阅读次数:
218
1.在git服务器界面右上角“+” 、create new project ,写上项目名字生成一个新的组2.如果机器第一次与git 建立连接,需要让机器生成一个id_rsa和id_rsa.pub 文件,然后无空格的打开.pub这个文件,复制到git服务器界面的my project ->SSH Key...
分类:
其他好文 时间:
2014-06-26 22:02:01
阅读次数:
260
转载自: http://www.cnblogs.com/xishuai/p/3590705.html http://www.cnblogs.com/shanyou/p/3662482.html
分类:
Web程序 时间:
2014-06-26 19:47:34
阅读次数:
290
测试发现,textarea和select的jquery的clone方法有问题,textarea和select的值clone的时候会丢掉,发现这个是jquery的一个bug,上不了的可以看下代码,比较简单。就是在clone的时候将val再重新赋值一下,如果知道这个了,就简单了自己写。引入到你要用的clone的页面就okjquery.fix.clone.js(function (original) {...
分类:
Web程序 时间:
2014-06-26 07:28:31
阅读次数:
287
【题目】
Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors.
OJ's undirected graph serialization:
Nodes are labeled uniquely.
We use # as a separator for each node, and , as a separator for node label and each ne...
分类:
其他好文 时间:
2014-06-26 06:48:16
阅读次数:
285
1Cloneable接口实现该接口的类可以调用clone()方法合法地对该类实例进行按字段复制。按照惯例,实现此接口的类应该使用公共方法重写Object.clone(它是受保护的)2循环冗余校验算法循环冗余校验(英语:Cyclic redundancy check,通称“CRC”)是一种根据网络数据...
分类:
其他好文 时间:
2014-06-25 00:59:04
阅读次数:
417