码迷,mamicode.com
首页 >  
搜索关键字:git add    ( 66339个结果
如何解决git提交代码冲突
当我们使用git提交代码时,别人可能也同时修改了我们修改的文件,但是别人的先合入到配置库里边,这样当我们的提交要合入时,就会产生冲突,可以使用以下步骤来解决冲突: (1) git rebase    分支名称   本地分支名称 (2)rebase之后,就会显示冲突,到目标文件进行修改 (3)git add . (4)git rebase --continue (5) git rebase...
分类:其他好文   时间:2014-05-10 09:59:20    阅读次数:643
LinkedList implement
public class LinkedList { Node head = null; Node tail = null; int length = 0; public void add(Object object) { Node node  = new Node(object, null); if (head == null) { head = tail = nod...
分类:其他好文   时间:2014-05-07 08:24:17    阅读次数:306
[jekyll] 乱码问题invalid byte sequence in GB2312
这里是windows下 使用1.4.3版本时候出现的问题。 问题1  I:\git\orangle.github.io>jekyll serve --watch Configuration file: I:/git/orangle.github.io/_config.yml Source: I:/git/orangle.github.io Destinat...
分类:其他好文   时间:2014-05-07 08:04:31    阅读次数:486
ArrayList implement
public class ArrayList { Object[] objects = new Object[10]; int index = 0; public void add(Object object) { if (index == objects.length) { Object[] newObjects = new Object[objects.length*2]; ...
分类:其他好文   时间:2014-05-07 07:57:10    阅读次数:257
编译生成wireless-regdb
wireless-regdb是一个开源的工程,它编译会生成regulatory.bin文件,这个实际是一个加密后的数据库,它记录各个国家可用的无线频段。 下载wireless-regdb有两个方法: 1. git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-regdb.git 2. http://wirele...
分类:数据库   时间:2014-05-07 07:51:49    阅读次数:622
【Leetcode】Two Sum
[Question] Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to t...
分类:其他好文   时间:2014-05-07 05:37:44    阅读次数:278
emacs中eshell的快捷键配制
eshell是emacs shell的简称,是emacs自带的shell.开始设置的时候还在想是否要找到它的key map (eshell-mode-map?). 原来它是采用hook设置,如下所示 (add-hook 'eshell-mode-hook (lambda () (local-set-key (kbd "C-j") 'switch-to...
分类:其他好文   时间:2014-05-07 05:25:39    阅读次数:253
hdu1223
n个数,只能用 F[i][j]=(F[i-1][j]+F[i-1][j-1])*j F[i][j]代表i个数,有j个不同值的情况。比如A 大数模板 #include #include const int MAX =505; struct BigNum { int num[MAX]; int len; } a[51][51]; BigNum Add(...
分类:其他好文   时间:2014-05-06 23:06:51    阅读次数:364
ubuntu 下安装nodejs以及pm2
ubuntu12.04服务器可以使用apt-get方式安装NodeJS,但是,安装完后的版本为v0.6.12的版本,如果我们想要使用新一点的版本需要做如下配置:apt-getinstallpython-software-properties apt-add-repositoryppa:chris-lea/node.js apt-getupdate apt-getinstallnodejs安装完成后可以..
分类:Web程序   时间:2014-05-06 16:45:52    阅读次数:378
Git.Framework 框架随手记--ORM新增操作
本篇主要记录具体如何新增数据,废话不多说,开始进入正文。 一. 生成工程结构 上一篇已经说到了如何生成工程结构,这里在累述一次。 1. 新建项目总体结构 使用VS新建项目结构,分层结构可以随意。我们使用的结构如下: 2. 引入配置文件相关 Co...
分类:其他好文   时间:2014-05-06 10:04:28    阅读次数:771
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!