代码提交代码提交一般有五个步骤:1.查看目前代码的修改状态2.查看代码修改内容3.暂存需要提交的文件4.提交已暂存的文件5.同步到服务器1.查看目前代码的修改状态提交代码之前,首先应该检查目前所做的修改,运行git status命令a)已暂存 (changes to be committed)new...
分类:
其他好文 时间:
2014-07-28 21:28:34
阅读次数:
208
1: semantics 语义一:Introduction 1. Changes form IPv6 to IPv6. 1) Expanded Addressing Capabilities 32 bits to 128 bits to support a) more l...
分类:
其他好文 时间:
2014-07-28 14:56:23
阅读次数:
253
建立新的branch和查看所有的branch(kk的代码是基于现有的branch)
切换到branch kk:
当然我们也可以在android studio里操作:
注意切换的时候代码会丢失,必须先commit 代码再切换
如果本地代码跟服务器上有冲突,那么pull的时候会发生error这时:
我们必须stash Changes,更新完全然...
分类:
其他好文 时间:
2014-07-27 11:49:53
阅读次数:
199
1Set up vimdiffThe vimdiff as a merge tool will display several buffers to show the yours/theirs/original changes.The key point is to set up the vimdi...
分类:
其他好文 时间:
2014-07-26 14:39:01
阅读次数:
280
查看当前分区状态:[root@localhost~]#fdisk-culDisk/dev/sda:21.5GB,21474836480bytes255heads,63sectors/track,2610cylinders,total41943040sectorsUnits=sectorsof1*512=512bytesSectorsize(logical/physical):512bytes/512bytesI/Osize(minimum/optimal):512bytes/512bytes..
分类:
其他好文 时间:
2014-07-26 03:13:57
阅读次数:
286
使用repo sync时,如果当前仓库有检出本地分支,假设为dev, 对应的远程track分支为origin/dev。 而manifest.xml中指定的track分支为origin/master,那么在repo sync时会自动将当前的dev分支的远程track分支修改为origin/master, 不仅如此,同时还会将origin/master上的修改rebase到本地的这个dev分支上。...
分类:
其他好文 时间:
2014-07-24 10:42:38
阅读次数:
302
第一步:安装语言包进入 “System Settings”找到 “Language Support” 那一项,点击进入选择 “Install/Remove Languages”找到 “Chinese (simplified)” 那一项,把后面到勾打上然后点击 “Apply Changes” 等待一段...
分类:
其他好文 时间:
2014-07-22 22:56:33
阅读次数:
224
Hello everybody,One day I had problems with GUI svn client and a big headache how to commit my changes. I have found how to do that using Terminal and...
分类:
其他好文 时间:
2014-07-19 21:30:39
阅读次数:
197
A view tree observer is used to register listeners that canbe notified of global changes in the view tree. Such global eventsinclude, but are not limi...
分类:
其他好文 时间:
2014-07-19 17:26:44
阅读次数:
310
Description
There are so many different religions in the world today that it is difficult to keep track of them all. You are interested in finding out how many different religions students in your ...
分类:
其他好文 时间:
2014-07-17 16:02:36
阅读次数:
264